shell.c: Don't overwrite focus surface argument in activate_binding()
We need either the pointer or touch focus, which is passed in to activate_binding(). Don't overwrite this with the pointer focus.
This commit is contained in:
parent
7ab139ce16
commit
0d94f41b44
@ -3241,7 +3241,6 @@ activate_binding(struct weston_seat *seat,
|
||||
|
||||
if (!focus)
|
||||
return;
|
||||
focus = seat->pointer->focus->surface;
|
||||
|
||||
if (is_black_surface(focus, &main_surface))
|
||||
focus = main_surface;
|
||||
|
Loading…
Reference in New Issue
Block a user