diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-12 17:32:10 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-12 17:32:10 +0000 |
| commit | 06181f9cc4cfd689cff3f54e28548e7d91d1fbae (patch) | |
| tree | 07bc712651ccc1e1e39a52b757feedfd9727008b | |
| parent | 18c0714c518b6893835cded4967a5edcb47940f9 (diff) | |
make the handle resize by default, and give the handle the resize south cursor
| -rw-r--r-- | data/rc.xml | 8 | ||||
| -rw-r--r-- | 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 @@ </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"> 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); |
