mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-20 18:31:22 +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
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue