diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 12:38:27 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 12:38:27 +0200 |
commit | 14d05e7c725a4a07136ceb123cf760272afc1a87 (patch) | |
tree | 39328e09b357c05afb8951c5aaccaeb844b2b14d /event.c | |
parent | a118a57fe3fd13036f24ebe093a5c329608a0600 (diff) | |
download | dwm-14d05e7c725a4a07136ceb123cf760272afc1a87.tar.gz |
first step to a more flexible dotile() algorithm
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/event.c b/event.c index 2df3821..83e1b86 100644 --- a/event.c +++ b/event.c @@ -176,8 +176,11 @@ configurerequest(XEvent *e) { else configure(c); XSync(dpy, False); - if(c->isfloat) + if(c->isfloat) { resize(c, False, TopLeft); + if(!isvisible(c)) + ban(c); + } else arrange(NULL); } |