summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-06 14:21:44 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-06 14:21:44 -0600
commit98c7adfb3dbd6fbcb9011ef155f0a015c3558092 (patch)
tree4ff6fc88a31057887a22679f744ff343987e4be4 /client.h
parentb5229636a386e22fa9e4074e429fbc6644bd3e4c (diff)
parent79b051f2425af8a1e91a61fba145beb00f522973 (diff)
Merge remote-tracking branch 'upstream/main' into wlroots-next
Diffstat (limited to 'client.h')
-rw-r--r--client.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/client.h b/client.h
index 77cde58..dbf018f 100644
--- a/client.h
+++ b/client.h
@@ -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