diff options
author | emersion <contact@emersion.fr> | 2018-08-02 22:48:43 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-08-02 22:48:43 +0100 |
commit | b3365645114b17b9a5d3efe6e0e81758cd8c47b5 (patch) | |
tree | 428ebc7eb82930ff38d495862afe7ee7c5042f4b /sway/input/cursor.c | |
parent | Merge pull request #2410 from minus7/fix-fullscreen (diff) | |
download | sway-b3365645114b17b9a5d3efe6e0e81758cd8c47b5.tar.gz sway-b3365645114b17b9a5d3efe6e0e81758cd8c47b5.tar.zst sway-b3365645114b17b9a5d3efe6e0e81758cd8c47b5.zip |
Fix pointer events for fullscreen views
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 99858d93..c2fc4e9e 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -99,7 +99,8 @@ static struct sway_container *container_at_coords( | |||
99 | return ws; | 99 | return ws; |
100 | } | 100 | } |
101 | if (ws->sway_workspace->fullscreen) { | 101 | if (ws->sway_workspace->fullscreen) { |
102 | return container_at(ws, lx, ly, surface, sx, sy); | 102 | return container_at_view(ws->sway_workspace->fullscreen, lx, ly, |
103 | surface, sx, sy); | ||
103 | } | 104 | } |
104 | if ((*surface = layer_surface_at(output, | 105 | if ((*surface = layer_surface_at(output, |
105 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], | 106 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], |