mirror of
https://github.com/swaywm/sway.git
synced 2025-11-03 09:01:43 -05:00
Don't track damage for views on inactive tabs
This commit is contained in:
parent
bd79584f65
commit
efc07fb3d4
6 changed files with 52 additions and 11 deletions
|
|
@ -274,4 +274,10 @@ bool view_has_mark(struct sway_view *view, char *mark);
|
|||
|
||||
void view_update_marks_textures(struct sway_view *view);
|
||||
|
||||
/**
|
||||
* Returns true if there's a possibility the view may be rendered on screen.
|
||||
* Intended for damage tracking.
|
||||
*/
|
||||
bool view_is_visible(struct sway_view *view);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue