diff options
author | 2018-07-25 08:50:06 +0100 | |
---|---|---|
committer | 2018-07-25 08:55:41 +0100 | |
commit | 0e79b2114c0bd374c6b4a37fc2ee0e672b8fbb38 (patch) | |
tree | d0067d3466d26526bf2531e19e3a5e24532d312b /include/sway | |
parent | Merge pull request #2342 from RyanDwyer/update-cursor (diff) | |
download | sway-0e79b2114c0bd374c6b4a37fc2ee0e672b8fbb38.tar.gz sway-0e79b2114c0bd374c6b4a37fc2ee0e672b8fbb38.tar.zst sway-0e79b2114c0bd374c6b4a37fc2ee0e672b8fbb38.zip |
Improve rendering with a fullscreen opaque overlay surface
The rendering code doesn't use the exclusive input surface at all
anymore to decide to skip rendering of shell surfaces. This fixes
a weird situation in which a client requests exclusive input but
isn't an overlay layer surface.
The renderer also renders all overlay surfaces in this situation,
not just one. This simplifies the code and fixes rendering when
there are more than one overlay surfaces (e.g. for a virtual
keyboard to type the lockscreen password).
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/output.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index b6cda83c..c225e541 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -65,8 +65,7 @@ struct sway_container *output_by_name(const char *name); | |||
65 | 65 | ||
66 | void output_enable(struct sway_output *output); | 66 | void output_enable(struct sway_output *output); |
67 | 67 | ||
68 | bool output_has_opaque_lockscreen(struct sway_output *output, | 68 | bool output_has_opaque_overlay_layer_surface(struct sway_output *output); |
69 | struct sway_seat *seat); | ||
70 | 69 | ||
71 | struct sway_container *output_get_active_workspace(struct sway_output *output); | 70 | struct sway_container *output_get_active_workspace(struct sway_output *output); |
72 | 71 | ||