Introduction
Introduction Statistics Contact Development Disclaimer Help
tfixed xterm font change (all other related apps should work fine with this fix…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 6a39a496d06f5631a1617fe68729cbde4c24318c
parent 3d73084b5ef25bca354b32e049b2904aa9519c09
Author: [email protected] <unknown>
Date: Fri, 4 Aug 2006 18:25:40 +0200
fixed xterm font change (all other related apps should work fine with this fix …
Diffstat:
M event.c | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/event.c b/event.c
t@@ -156,22 +156,17 @@ configurerequest(XEvent *e)
if((c = getclient(ev->window))) {
gravitate(c, True);
- if(c->isfloat) {
- if(ev->value_mask & CWX)
- c->x = ev->x;
- if(ev->value_mask & CWY)
- c->y = ev->y;
- if(ev->value_mask & CWWidth)
- c->w = ev->width;
- if(ev->value_mask & CWHeight)
- c->h = ev->height;
- }
+ if(ev->value_mask & CWX)
+ c->x = ev->x;
+ if(ev->value_mask & CWY)
+ c->y = ev->y;
+ if(ev->value_mask & CWWidth)
+ c->w = ev->width;
+ if(ev->value_mask & CWHeight)
+ c->h = ev->height;
if(ev->value_mask & CWBorderWidth)
c->border = ev->border_width;
gravitate(c, False);
-
- resize(c, True, TopLeft);
-
wc.x = c->x;
wc.y = c->y;
wc.width = c->w;
t@@ -193,6 +188,9 @@ configurerequest(XEvent *e)
/* Send synthetic ConfigureNotify */
XSendEvent(dpy, c->win, True, NoEventMask, &synev);
}
+ XSync(dpy, False);
+ arrange(NULL);
+ drawall();
}
else {
wc.x = ev->x;
t@@ -203,8 +201,8 @@ configurerequest(XEvent *e)
wc.sibling = ev->above;
wc.stack_mode = ev->detail;
XConfigureWindow(dpy, ev->window, ev->value_mask, &wc);
+ XSync(dpy, False);
}
- XSync(dpy, False);
}
static void
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.