dot/e16-bindings: New bindings for moving and resizing windows.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 29 Mar 2010 17:21:07 +0000 (18:21 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 29 Mar 2010 17:21:07 +0000 (18:21 +0100)
Not perfect: the focus can end up in the wrong place afterwards.  Could
be fixed for moving by warping the pointer -- except if the window isn't
at the top of the z-order.  Oh, well.

dot/e16-bindings

index d535fe0..cd3a003 100644 (file)
@@ -65,3 +65,11 @@ KeyDown   S5       Up area move 0 -1
 KeyDown   S5     Down area move 0 1
 KeyDown   S5     Left area move -1 0
 KeyDown   S5    Right area move 1 0
+KeyDown          5        Up wop * mr 0 -15
+KeyDown          5      Down wop * mr 0 +15
+KeyDown          5      Left wop * mr -15 0
+KeyDown          5     Right wop * mr +15 0
+KeyDown          SC5      Up wop * sr 0 -15
+KeyDown          SC5    Down wop * sr 0 +15
+KeyDown          SC5    Left wop * sr -15 0
+KeyDown          SC5   Right wop * sr +15 0