Implement EWMH number of desktops property

_NET_NUMBER_OF_DESKTOPS:

> This property SHOULD be set and updated by the Window Manager to
> indicate the number of virtual desktops.

We interpret this property as the number of noninternal workspaces.
This commit is contained in:
Tony Crisci
2014-06-16 02:50:47 -04:00
committed by Michael Stapelberg
parent 4c06e7a573
commit b47f480728
5 changed files with 33 additions and 2 deletions

View File

@ -18,6 +18,12 @@
*/
void ewmh_update_current_desktop(void);
/**
* Updates _NET_NUMBER_OF_DESKTOPS which we interpret as the number of
* noninternal workspaces.
*/
void ewmh_update_number_of_desktops(void);
/**
* Updates _NET_ACTIVE_WINDOW with the currently focused window.
*