summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-02 22:59:18 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-06-02 22:59:18 (EDT)
commit917712abc669573a365c2da4f7c686b6940ae433 (patch)
tree60b01e58ddc1f71b30509a65a8f5cab400f79c0b
parent13ece3bae6851a33f4eb4de20e4baa5fb859585b (diff)
downloadfluxbox-917712abc669573a365c2da4f7c686b6940ae433.zip
fluxbox-917712abc669573a365c2da4f7c686b6940ae433.tar.gz
fluxbox-917712abc669573a365c2da4f7c686b6940ae433.tar.bz2
.fluxbox/startup: Wait for fluxbox before starting fbpanels
Mostly fixes an apparent race condition in which _NET_WM_DESKTOP gets set to 0 instead of 0xFFFFFFFF and _NET_WM_STATE gets set to just _NET_WM_STATE_SKIP_TASKBAR instead of _NET_WM_STATE_STICKY, _NET_WM_STATE_ABOVE, _NET_WM_STATE_SKIP_TASKBAR, and _NET_WM_STATE_SKIP_PAGER.
-rwxr-xr-x.fluxbox/startup5
1 files changed, 2 insertions, 3 deletions
diff --git a/.fluxbox/startup b/.fluxbox/startup
index cbf4e06..89f42ea 100755
--- a/.fluxbox/startup
+++ b/.fluxbox/startup
@@ -17,10 +17,9 @@ wicd-gtk -t &
dunst &
-fbpanel -p taskbar &
-fbpanel -p menu &
-
while ! wmctrl -m 1>/dev/null 2>&1; do
sleep 1
done
+fbpanel -p taskbar &
+fbpanel -p menu &
bbpager &