mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] x11: _NET_WM_* hints are ATOMS not CARDINAL
This fixes the fullscreen and likely borderless issue too that people have been reporting on X11 under gnome. Thanks to tdb in discord for spotting the error.
This commit is contained in:
@@ -232,7 +232,7 @@ static bool x11Init(const LG_DSInitParams params)
|
||||
x11.display,
|
||||
x11.window,
|
||||
x11.aNetWMWindowType,
|
||||
XA_CARDINAL,
|
||||
XA_ATOM,
|
||||
32,
|
||||
PropModeReplace,
|
||||
(unsigned char *)&x11.aNetWMWindowTypeNormal,
|
||||
@@ -245,7 +245,7 @@ static bool x11Init(const LG_DSInitParams params)
|
||||
x11.display,
|
||||
x11.window,
|
||||
x11.aNetWMState,
|
||||
XA_CARDINAL,
|
||||
XA_ATOM,
|
||||
32,
|
||||
PropModeReplace,
|
||||
(unsigned char *)&x11.aNetWMStateFullscreen,
|
||||
|
Reference in New Issue
Block a user