diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-06 14:21:44 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-06 14:21:44 -0600 |
commit | 98c7adfb3dbd6fbcb9011ef155f0a015c3558092 (patch) | |
tree | 4ff6fc88a31057887a22679f744ff343987e4be4 /client.h | |
parent | b5229636a386e22fa9e4074e429fbc6644bd3e4c (diff) | |
parent | 79b051f2425af8a1e91a61fba145beb00f522973 (diff) |
Merge remote-tracking branch 'upstream/main' into wlroots-next
Diffstat (limited to 'client.h')
-rw-r--r-- | client.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -241,21 +241,6 @@ client_is_mapped(Client *c) } static inline int -client_is_rendered_on_mon(Client *c, Monitor *m) -{ - /* This is needed for when you don't want to check formal assignment, - * but rather actual displaying of the pixels. - * Usually VISIBLEON suffices and is also faster. */ - struct wlr_surface_output *s; - if (!c->scene->node.enabled) - return 0; - wl_list_for_each(s, &client_surface(c)->current_outputs, link) - if (s->output == m->wlr_output) - return 1; - return 0; -} - -static inline int client_is_unmanaged(Client *c) { #ifdef XWAYLAND |