X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=blobdiff_plain;f=data%2Fxsession%2Fopenbox-session.in;h=fa1bb99693a96654945825845488681b12d1f31e;hp=7c3daa73ed78f0a55f06b2d23402d357d51048d9;hb=f0df9bb9d8f4f8182e60996d92a7b0e47549a0f6;hpb=7abc28bdda2503732d3ee26192454f5058c84b83 diff --git a/data/xsession/openbox-session.in b/data/xsession/openbox-session.in index 7c3daa7..fa1bb99 100644 --- a/data/xsession/openbox-session.in +++ b/data/xsession/openbox-session.in @@ -7,6 +7,11 @@ if test -n "$1"; then exit fi +# Clean up after GDM +xprop -root -remove _NET_NUMBER_OF_DESKTOPS \ + -remove _NET_DESKTOP_NAMES \ + -remove _NET_CURRENT_DESKTOP 2> /dev/null + AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh" GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"