aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-06 08:35:02 -0700
committerGitHub <noreply@github.com>2018-07-06 08:35:02 -0700
commit55c54bb63b82ee75e1893b48b3ce18f7317c6199 (patch)
tree5543062b41b496e6caabf355c545eb3f7f5c044f /include
parentb8ee88344a5e2869fd3ce04762eda305dc5bf62e (diff)
parent464d4d58892597f31da3fcdbcfcd7928643a9ec3 (diff)
Merge pull request #2182 from RyanDwyer/lockscreen-performance
Don't send frame done to surfaces behind lockscreen
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 19fc5e99..e6fe55c6 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -54,4 +54,8 @@ void output_damage_whole_container(struct sway_output *output,
struct sway_container *output_by_name(const char *name);
void output_enable(struct sway_output *output);
+
+bool output_has_opaque_lockscreen(struct sway_output *output,
+ struct sway_seat *seat);
+
#endif