diff options
author | emersion <contact@emersion.fr> | 2018-04-03 13:35:40 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-03 13:35:40 -0400 |
commit | 41fccb8507bcc1b18cff0c785c5697f9f0bdceda (patch) | |
tree | 298e556ad172487173320012c8080065d940cedb /rootston/cursor.c | |
parent | 591ea27cf9bab54d966f47b9856a53b523af735a (diff) | |
parent | 31c6ce13cde01bbb3921a520b6a8db6427da3094 (diff) |
Merge branch 'master' into xwayland-dnd
Diffstat (limited to 'rootston/cursor.c')
-rw-r--r-- | rootston/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c index 6fb2688c..ac46ff5d 100644 --- a/rootston/cursor.c +++ b/rootston/cursor.c @@ -271,7 +271,7 @@ static void roots_cursor_press_button(struct roots_cursor *cursor, break; case WLR_BUTTON_PRESSED: roots_seat_set_focus(seat, view); - if (wlr_surface_is_layer_surface(surface)) { + if (surface && wlr_surface_is_layer_surface(surface)) { struct wlr_layer_surface *layer = wlr_layer_surface_from_wlr_surface(surface); if (layer->current.keyboard_interactive) { |