]> git.sur5r.net Git - i3/i3/commit
Set EWMH desktop properties on startup.
authorSteve Jones <steve@secretvolcanobase.org>
Sat, 1 Feb 2014 16:09:51 +0000 (16:09 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 8 Feb 2014 19:38:16 +0000 (20:38 +0100)
commit0e27ff3cd04d45cceff625d19bd028d360b1ed04
tree558b28841ea4950ca5fbe54eb3976e348bb11f5b
parent905440d6d1c6d2a872e3bbb0da4c963bedaf5708
Set EWMH desktop properties on startup.

Calls ewmh_update_current_desktop on startup to set the
_NET_CURRENT_DESKTOP property. Without this change the property only
gets set after the workspaces have been manipulated. Also exclude
hidden workspaces (i.e. those starting with "__" from the workspace
index.

Adds tests for startup and workspace switching.
src/ewmh.c
src/main.c
testcases/t/217-NET_CURRENT_DESKTOP.t [new file with mode: 0644]