wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 7389d11fb203d470d5a7f4356fbcd1c282047bda
parent c32d48e7e6e582417f8e7adde2758ca747cd8ea1
Author: Kris Maglione <jg@suckless.org>
Date:   Thu,  8 Feb 2007 20:39:10 -0500

Focus frame and bring it to the top on move/resize.


Diffstat:
event.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/event.c b/event.c @@ -88,10 +88,15 @@ buttonpress(XEvent *e) { switch(ev->button) { case Button1: do_mouse_resize(f->client, CENTER); + focus(f->client, True); + frame_to_top(f); + focus(f->client, True); break; case Button3: do_mouse_resize(f->client, quadofcoord(&f->client->rect, ev->x, ev->y)); + frame_to_top(f); + focus(f->client, True); default: XAllowEvents(blz.dpy, ReplayPointer, ev->time); break;