Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into wlroots-next
Browse files Browse the repository at this point in the history
  • Loading branch information
sevz17 committed Dec 6, 2022
2 parents b522963 + 79b051f commit 98c7adf
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 32 deletions.
15 changes: 0 additions & 15 deletions client.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,21 +240,6 @@ client_is_mapped(Client *c)
return c->surface.xdg->mapped;
}

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)
{
Expand Down
Loading

0 comments on commit 98c7adf

Please sign in to comment.