make the handle resize by default, and give the handle the resize south cursor

This commit is contained in:
Dana Jansens 2007-05-12 17:32:10 +00:00
parent 18c0714c51
commit 06181f9cc4
2 changed files with 3 additions and 8 deletions

View file

@ -258,17 +258,11 @@
</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">

View 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);