]> Dogcows Code - chaz/openbox/commitdiff
make the handle resize by default, and give the handle the resize south cursor
authorDana Jansens <danakj@orodu.net>
Sat, 12 May 2007 17:32:10 +0000 (17:32 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 12 May 2007 17:32:10 +0000 (17:32 +0000)
data/rc.xml
openbox/frame.c

index a224f6b1015459c616b0c44418fec652843b2ecd..bda1ca88b0cb3af96021c02484c9de9a56367079 100644 (file)
   </context>
   <context name="Handle">
     <mousebind button="Left" action="Drag">
-      <action name="Move"/>
-    </mousebind>
-    <mousebind button="Left" action="Click">
-      <action name="Raise"/>
+      <action name="Resize"><edge>bottom</edge></action>
     </mousebind>
     <mousebind button="Left" action="Press">
       <action name="Focus"/>
     </mousebind>
-    <mousebind button="Middle" action="Press">
-      <action name="Lower"/>
-    </mousebind>
   </context>
   <context name="BLCorner">
     <mousebind button="Left" action="Drag">
index 6248db7c0639e157fd923fb05618f2bc768a885b..716d23ada421fc82b0b8e64bad19ee07d9bfe856 100644 (file)
@@ -154,9 +154,10 @@ ObFrame *frame_new(ObClient *client)
     self->shade = createWindow(self->title, NULL, mask, &attrib);
     self->icon = createWindow(self->title, NULL, mask, &attrib);
     self->iconify = createWindow(self->title, NULL, mask, &attrib);
-    self->handle = createWindow(self->window, NULL, mask, &attrib);
 
     mask |= CWCursor;
+    attrib.cursor = ob_cursor(OB_CURSOR_SOUTH);
+    self->handle = createWindow(self->window, NULL, mask, &attrib);
     attrib.cursor = ob_cursor(OB_CURSOR_SOUTHWEST);
     self->lgrip = createWindow(self->handle, NULL, mask, &attrib);
     attrib.cursor = ob_cursor(OB_CURSOR_SOUTHEAST);
This page took 0.024266 seconds and 4 git commands to generate.