From: Dana Jansens Date: Sat, 12 May 2007 17:32:10 +0000 (+0000) Subject: make the handle resize by default, and give the handle the resize south cursor X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=06181f9cc4cfd689cff3f54e28548e7d91d1fbae;p=chaz%2Fopenbox make the handle resize by default, and give the handle the resize south cursor --- diff --git a/data/rc.xml b/data/rc.xml index a224f6b1..bda1ca88 100644 --- a/data/rc.xml +++ b/data/rc.xml @@ -258,17 +258,11 @@ - - - - + bottom - - - diff --git a/openbox/frame.c b/openbox/frame.c index 6248db7c..716d23ad 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -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);