1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-30 02:12:30 +01:00

Add support for _NET_WM_FULLSCREEN_MONITORS

This patch adds the _NET_WM_FULLSCREEN_MONITORS hint as defined in EWMH which is based on Xinerama.
It's allowing a window to be displayed fullscreen on multiple monitors.

Issue mentioned at https://github.com/window-maker/wmaker/issues/8
Specs at https://specifications.freedesktop.org/wm-spec/1.5/ar01s06.html#idm45763309187776
GTK test program used https://bugzilla.gnome.org/show_bug.cgi?id=414476
This commit is contained in:
David Maciejak
2023-02-18 14:53:14 +08:00
committed by Carlos R. Mafra
parent ac75047aef
commit 4d658341d2
7 changed files with 139 additions and 2 deletions

View File

@@ -254,6 +254,7 @@ typedef struct WWindow {
unsigned int maximized:7;
unsigned int old_maximized:7;
unsigned int fullscreen:1;
long fullscreen_monitors[4];
unsigned int omnipresent:1;
unsigned int semi_focused:1;
/* window type flags */