aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-07-20 03:25:28 (GMT)
committermarkt <markt>2006-07-20 03:25:28 (GMT)
commitf4d1af12083863f1aa63c88e3eb55a9317758fc1 (patch)
tree77bc2a47dd8f7d2df24afeae506452ab535746ae /src/WinClient.cc
parenta736f12ac58ec8e60b01ee38dc244b6850d87e21 (diff)
downloadfluxbox_pavel-f4d1af12083863f1aa63c88e3eb55a9317758fc1.zip
fluxbox_pavel-f4d1af12083863f1aa63c88e3eb55a9317758fc1.tar.bz2
keep tabs in same order on restart (except some extremely unlikely cases)
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index 1ede4d8..4e508fb 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -623,6 +623,8 @@ Window WinClient::getGroupLeftWindow() const {
623 623
624 624
625void WinClient::setGroupLeftWindow(Window win) { 625void WinClient::setGroupLeftWindow(Window win) {
626 if (m_screen.isShuttingdown())
627 return;
626 Atom group_left_hint = XInternAtom(display(), "_FLUXBOX_GROUP_LEFT", False); 628 Atom group_left_hint = XInternAtom(display(), "_FLUXBOX_GROUP_LEFT", False);
627 changeProperty(group_left_hint, XA_WINDOW, 32, 629 changeProperty(group_left_hint, XA_WINDOW, 32,
628 PropModeReplace, (unsigned char *) &win, 1); 630 PropModeReplace, (unsigned char *) &win, 1);