diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-13 21:32:55 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-13 21:32:55 -0600 |
commit | 88f241d1cf54ffb7ec1f6e092ccb547c96f57ac9 (patch) | |
tree | 02c2ce6ad1441411c98b5448a7b1190694862304 /client.h | |
parent | ebff6e38a02086bd6078a444641a83cb226f9995 (diff) | |
parent | 43228bd493f53f996a645156f0505b63e79a4f72 (diff) |
Merge branch 'fix-segfault-in-fullscreennotify'
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -104,6 +104,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 |