mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +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:
parent
5bfb33c739
commit
ab4d7cb94b
@ -232,7 +232,7 @@ static bool x11Init(const LG_DSInitParams params)
|
|||||||
x11.display,
|
x11.display,
|
||||||
x11.window,
|
x11.window,
|
||||||
x11.aNetWMWindowType,
|
x11.aNetWMWindowType,
|
||||||
XA_CARDINAL,
|
XA_ATOM,
|
||||||
32,
|
32,
|
||||||
PropModeReplace,
|
PropModeReplace,
|
||||||
(unsigned char *)&x11.aNetWMWindowTypeNormal,
|
(unsigned char *)&x11.aNetWMWindowTypeNormal,
|
||||||
@ -245,7 +245,7 @@ static bool x11Init(const LG_DSInitParams params)
|
|||||||
x11.display,
|
x11.display,
|
||||||
x11.window,
|
x11.window,
|
||||||
x11.aNetWMState,
|
x11.aNetWMState,
|
||||||
XA_CARDINAL,
|
XA_ATOM,
|
||||||
32,
|
32,
|
||||||
PropModeReplace,
|
PropModeReplace,
|
||||||
(unsigned char *)&x11.aNetWMStateFullscreen,
|
(unsigned char *)&x11.aNetWMStateFullscreen,
|
||||||
|
Loading…
Reference in New Issue
Block a user