Introduction
Introduction Statistics Contact Development Disclaimer Help
thotfix - dwm - [fork] customized build of dwm, the dynamic window manager
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 67986e81eed4a76cb4c50aed62ddb1fd14c4659d
parent 346bdea946887d83f857a8944a0189bca51a3e47
Author: arg@mmvi <unknown>
Date: Fri, 22 Sep 2006 13:58:21 +0200
hotfix
Diffstat:
M view.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/view.c b/view.c
t@@ -45,17 +45,18 @@ reorder() {
static void
togglemax(Client *c)
{
+ XEvent ev;
if((c->ismax = !c->ismax)) {
c->rx = c->x; c->x = sx;
c->ry = c->y; c->y = bh;
c->rw = c->w; c->w = sw;
- c->rh = c->h; c->h = sh;
+ c->rh = c->h; c->h = sh - bh;
}
else {
c->x = c->rx;
c->y = c->ry;
- c->w = c->w;
- c->h = c->h;
+ c->w = c->rw;
+ c->h = c->rh;
}
resize(c, True, TopLeft);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
t@@ -231,7 +232,7 @@ void
restack() {
Client *c;
XEvent ev;
-
+
if(!sel) {
drawstatus();
return;
t@@ -296,7 +297,6 @@ void
zoom(Arg *arg) {
unsigned int n;
Client *c;
- XEvent ev;
if(!sel)
return;
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.