diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-13 20:54:44 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-13 21:31:57 -0600 |
commit | 43228bd493f53f996a645156f0505b63e79a4f72 (patch) | |
tree | 6c33df38754183278cb256512e3a1057cd993d02 /client.h | |
parent | 03e167dbb70fbc967e310f95200bcd63f43cac72 (diff) |
don't use fullscreen event in fullscreennotify()
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -96,6 +96,16 @@ client_is_float_type(Client *c) } static inline int +client_wants_fullscreen(Client *c) +{ +#ifdef XWAYLAND + if (client_is_x11(c)) + return c->surface.xwayland->fullscreen; +#endif + return c->surface.xdg->toplevel->requested.fullscreen; +} + +static inline int client_is_unmanaged(Client *c) { #ifdef XWAYLAND |