make the handle resize by default, and give the handle the resize south cursor
This commit is contained in:
parent
18c0714c51
commit
06181f9cc4
2 changed files with 3 additions and 8 deletions
|
@ -258,17 +258,11 @@
|
||||||
</context>
|
</context>
|
||||||
<context name="Handle">
|
<context name="Handle">
|
||||||
<mousebind button="Left" action="Drag">
|
<mousebind button="Left" action="Drag">
|
||||||
<action name="Move"/>
|
<action name="Resize"><edge>bottom</edge></action>
|
||||||
</mousebind>
|
|
||||||
<mousebind button="Left" action="Click">
|
|
||||||
<action name="Raise"/>
|
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="Left" action="Press">
|
<mousebind button="Left" action="Press">
|
||||||
<action name="Focus"/>
|
<action name="Focus"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="Middle" action="Press">
|
|
||||||
<action name="Lower"/>
|
|
||||||
</mousebind>
|
|
||||||
</context>
|
</context>
|
||||||
<context name="BLCorner">
|
<context name="BLCorner">
|
||||||
<mousebind button="Left" action="Drag">
|
<mousebind button="Left" action="Drag">
|
||||||
|
|
|
@ -154,9 +154,10 @@ ObFrame *frame_new(ObClient *client)
|
||||||
self->shade = createWindow(self->title, NULL, mask, &attrib);
|
self->shade = createWindow(self->title, NULL, mask, &attrib);
|
||||||
self->icon = createWindow(self->title, NULL, mask, &attrib);
|
self->icon = createWindow(self->title, NULL, mask, &attrib);
|
||||||
self->iconify = createWindow(self->title, NULL, mask, &attrib);
|
self->iconify = createWindow(self->title, NULL, mask, &attrib);
|
||||||
self->handle = createWindow(self->window, NULL, mask, &attrib);
|
|
||||||
|
|
||||||
mask |= CWCursor;
|
mask |= CWCursor;
|
||||||
|
attrib.cursor = ob_cursor(OB_CURSOR_SOUTH);
|
||||||
|
self->handle = createWindow(self->window, NULL, mask, &attrib);
|
||||||
attrib.cursor = ob_cursor(OB_CURSOR_SOUTHWEST);
|
attrib.cursor = ob_cursor(OB_CURSOR_SOUTHWEST);
|
||||||
self->lgrip = createWindow(self->handle, NULL, mask, &attrib);
|
self->lgrip = createWindow(self->handle, NULL, mask, &attrib);
|
||||||
attrib.cursor = ob_cursor(OB_CURSOR_SOUTHEAST);
|
attrib.cursor = ob_cursor(OB_CURSOR_SOUTHEAST);
|
||||||
|
|
Loading…
Reference in a new issue