From 06181f9cc4cfd689cff3f54e28548e7d91d1fbae Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 12 May 2007 17:32:10 +0000 Subject: [PATCH] make the handle resize by default, and give the handle the resize south cursor --- data/rc.xml | 8 +------- openbox/frame.c | 3 ++- 2 files changed, 3 insertions(+), 8 deletions(-) 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); -- 2.39.2