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:
committed by
Michael Stapelberg
parent
4c06e7a573
commit
b47f480728
@ -765,8 +765,9 @@ int main(int argc, char *argv[]) {
|
||||
x_set_i3_atoms();
|
||||
ewmh_update_workarea();
|
||||
|
||||
/* Set the _NET_CURRENT_DESKTOP property. */
|
||||
/* Set the ewmh desktop properties. */
|
||||
ewmh_update_current_desktop();
|
||||
ewmh_update_number_of_desktops();
|
||||
|
||||
struct ev_io *xcb_watcher = scalloc(sizeof(struct ev_io));
|
||||
struct ev_io *xkb = scalloc(sizeof(struct ev_io));
|
||||
|
Reference in New Issue
Block a user