From 0d94f41b449204fe02bde8f1d5b48d4d6a17c119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 24 Oct 2013 16:29:51 -0700 Subject: [PATCH] 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. --- src/shell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shell.c b/src/shell.c index b4a15300..3d81e15f 100644 --- a/src/shell.c +++ b/src/shell.c @@ -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;