changeset: 131:7990d18655b8
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Mon Nov 09 00:13:04 2009 +0100
files: tabbed.c
description:
removing autoclose when last client exits.
diff -r c7e012e0df66 -r 7990d18655b8 tabbed.c
--- a/tabbed.c Fri Oct 30 14:08:56 2009 +0100
+++ b/tabbed.c Mon Nov 09 00:13:04 2009 +0100
@@ -145,7 +145,7 @@
};
static int bh, wx, wy, ww, wh;
static unsigned int numlockmask = 0;
-static Bool running = True, hadclients = False;
+static Bool running = True;
static Display *dpy;
static DC dc;
static Atom wmatom[WMLast], xembedatom;
@@ -563,7 +563,6 @@
Client *c;
XEvent e;
- hadclients = True;
XWithdrawWindow(dpy, w, 0);
XReparentWindow(dpy, w, win, 0, bh);
XSelectInput(dpy, w, PropertyChangeMask|StructureNotifyMask|EnterWindowMask);
@@ -781,8 +780,6 @@
focus(c->next ? c->next : pc);
free(c);
XSync(dpy, False);
- if(hadclients && !clients)
- running = False;
}
void
Received on Sun Nov 08 2009 - 23:13:03 UTC
This archive was generated by hypermail 2.2.0 : Sun Nov 08 2009 - 23:24:07 UTC