mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Fullscreen rendering and input fixes.
* Render background when using fullscreen, because transparency. * Check that fullscreen surface allows input. * Don't look for surfaces in top layer if there's a fullscreen view.
This commit is contained in:
parent
35ccdd67a8
commit
8d06b222f0
2 changed files with 12 additions and 9 deletions
|
|
@ -280,11 +280,11 @@ static void render_output(struct sway_output *output, struct timespec *when,
|
|||
|
||||
struct sway_container *workspace = output_get_active_workspace(output);
|
||||
|
||||
render_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]);
|
||||
|
||||
if (workspace->sway_workspace->fullscreen) {
|
||||
render_container(output, workspace->sway_workspace->fullscreen->swayc);
|
||||
} else {
|
||||
render_layer(output,
|
||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]);
|
||||
render_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM]);
|
||||
|
||||
render_container(output, workspace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue