diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | |
|---|---|---|
| 2023-12-10 23:42:35 -0600 | ||
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | |
| 2023-12-10 23:46:40 -0600 | ||
| commit | c88960751d7e422ad7eca1672c00ee09515e5095 (patch) | |
| tree | c2081cafbbe70966128d966ca1c7d874cdff9062 /client.h | |
| parent | 9c5bdcfbe86a58134af5d54f07d67524697f2a47 (diff) | |
| download | dwl-c88960751d7e422ad7eca1672c00ee09515e5095.tar.gz dwl-c88960751d7e422ad7eca1672c00ee09515e5095.tar.bz2 dwl-c88960751d7e422ad7eca1672c00ee09515e5095.zip | |
check if a client is unmanaged checking the o-r flag
it may change at any moment and I don't really want to add a listener for it
@@ -270,7 +270,8 @@ static inline int client_is_unmanaged(Client *c) { #ifdef XWAYLAND - return c->type == X11Unmanaged; + if (client_is_x11(c)) + return c->surface.xwayland->override_redirect; #endif return 0; } |