all repos — openbox @ 06181f9cc4cfd689cff3f54e28548e7d91d1fbae

openbox fork - make it a bit more like ryudo

make the handle resize by default, and give the handle the resize south cursor
Dana Jansens danakj@orodu.net
commit

06181f9cc4cfd689cff3f54e28548e7d91d1fbae

parent

18c0714c518b6893835cded4967a5edcb47940f9

2 files changed, 3 insertions(+), 8 deletions(-)

jump to
M data/rc.xmldata/rc.xml

@@ -258,16 +258,10 @@ </mousebind>

</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">
M openbox/frame.copenbox/frame.c

@@ -154,9 +154,10 @@ self->desk = createWindow(self->title, NULL, mask, &attrib);

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