tchanging order of c->border restorage - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit be8d6d40f60b45f941bd9cb6896b83ce223b6406
(DIR) parent f0c2353393ac97ab759a59a2569f7cac725a3c91
(HTM) Author: Anselm R. Garbe <arg@suckless.org>
Date: Fri, 13 Apr 2007 12:22:00 +0200
changing order of c->border restorage
Diffstat:
M event.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/event.c b/event.c
t@@ -174,6 +174,8 @@ configurerequest(XEvent *e) {
if((c = getclient(ev->window))) {
c->ismax = False;
+ if(ev->value_mask & CWBorderWidth)
+ c->border = ev->border_width;
if(c->isfixed || c->isfloating || (lt->arrange == floating)) {
if(ev->value_mask & CWX)
c->x = ev->x;
t@@ -190,11 +192,9 @@ configurerequest(XEvent *e) {
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
}
else {
- if(ev->value_mask & CWBorderWidth)
- c->border = ev->border_width;
configure(c);
- c->border = BORDERPX;
}
+ c->border = BORDERPX;
}
else {
wc.x = ev->x;