aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-06 13:56:28 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-06 13:58:56 -0600
commit4a32293548667e68cd9a103e22368b8db1754deb (patch)
tree7876e8b30d165b8ae09a66a2096ed4d4b6d3971d /client.h
parent9136b6247d186790926bdee32d0a17d668ff8924 (diff)
Revert "fix flickering when resizing/spawning windows"
This reverts commit 017bb7d7521f68d37bfe656c10f45edbcc92dd61. Bug: https://github.com/djpohly/dwl/issues/349
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