Introduction
Introduction Statistics Contact Development Disclaimer Help
tsimplified configurerequest to a bare minimum, removed wrong ban() calls - dwm…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 39ed54a468f339535f82cce2c0a79b92e74a7c09
parent b61f91361c81b3c619ef6dac6e80e19a64d5fcf3
Author: Anselm R. Garbe <[email protected]>
Date: Mon, 19 Feb 2007 11:34:12 +0100
simplified configurerequest to a bare minimum, removed wrong ban() calls
Diffstat:
M client.c | 8 --------
M event.c | 9 +--------
2 files changed, 1 insertion(+), 16 deletions(-)
---
diff --git a/client.c b/client.c
t@@ -68,14 +68,6 @@ xerrordummy(Display *dsply, XErrorEvent *ee) {
/* extern */
void
-ban(Client *c) {
- if(!c || c->isbanned)
- return;
- c->isbanned = True;
- XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
-}
-
-void
configure(Client *c) {
XConfigureEvent ce;
diff --git a/event.c b/event.c
t@@ -184,16 +184,9 @@ configurerequest(XEvent *e) {
c->h = ev->height;
if((ev->value_mask & (CWX | CWY))
&& !(ev->value_mask & (CWWidth | CWHeight)))
- {
configure(c);
- if(isvisible(c))
- XMoveWindow(dpy, c->win, c->x, c->y);
- }
- else {
+ if(isvisible(c))
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->…
- if(!isvisible(c))
- ban(c);
- }
}
else
configure(c);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.