Introduction
Introduction Statistics Contact Development Disclaimer Help
tapplied anudots [un]ban repair patch - dwm - [fork] customized build of dwm, t…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 5a1a2edf0e584e660e16d2e01094851e0f9161e2
parent b3419f49a315e9ca0d0870878b353fafec1e3e5c
Author: Anselm R. Garbe <[email protected]>
Date: Mon, 4 Jun 2007 11:37:33 +0200
applied anudots [un]ban repair patch
Diffstat:
M client.c | 3 +--
M layout.c | 4 +---
M main.c | 3 +--
3 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/client.c b/client.c
t@@ -216,8 +216,7 @@ manage(Window w, XWindowAttributes *wa) {
c->isfloating = (rettrans == Success) || c->isfixed;
attach(c);
attachstack(c);
- c->isbanned = True;
- XMoveWindow(dpy, w, c->x + 2 * sw, c->y);
+ ban(c);
XMapWindow(dpy, w);
setclientstate(c, NormalState);
focus(c);
diff --git a/layout.c b/layout.c
t@@ -88,9 +88,7 @@ floating(void) {
for(c = clients; c; c = c->next)
if(isvisible(c)) {
- if(c->isbanned)
- XMoveWindow(dpy, c->win, c->x, c->y);
- c->isbanned = False;
+ unban(c);
resize(c, c->x, c->y, c->w, c->h, True);
}
else
diff --git a/main.c b/main.c
t@@ -38,8 +38,7 @@ static void
cleanup(void) {
close(STDIN_FILENO);
while(stack) {
- if(stack->isbanned)
- XMoveWindow(dpy, stack->win, stack->x, stack->y);
+ unban(stack);
unmanage(stack);
}
if(dc.font.set)
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.