diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-02 17:33:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 17:33:38 -0400 |
commit | 2ecba101fd2535b634b83ec54d6a46d2ff9e1481 (patch) | |
tree | 14d2ec9a20a1b0f20852cb3e6970324c281d15f6 /sway | |
parent | Merge pull request #2407 from RyanDwyer/fix-popups-v3 (diff) | |
parent | Fix crash on mouse motion on fullscreen container (diff) | |
download | sway-2ecba101fd2535b634b83ec54d6a46d2ff9e1481.tar.gz sway-2ecba101fd2535b634b83ec54d6a46d2ff9e1481.tar.zst sway-2ecba101fd2535b634b83ec54d6a46d2ff9e1481.zip |
Merge pull request #2410 from minus7/fix-fullscreen
Fix crash on mouse motion on fullscreen container
Diffstat (limited to 'sway')
-rw-r--r-- | sway/input/cursor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 79f6ec46..99858d93 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -99,8 +99,7 @@ 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->sway_workspace->fullscreen, lx, ly, | 102 | return container_at(ws, lx, ly, surface, sx, sy); |
103 | surface, sx, sy); | ||
104 | } | 103 | } |
105 | if ((*surface = layer_surface_at(output, | 104 | if ((*surface = layer_surface_at(output, |
106 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], | 105 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], |