[mutter] pointer: Make sure to always update the focus surface after repicking
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] pointer: Make sure to always update the focus surface after repicking
- Date: Sun, 23 Nov 2014 01:07:15 +0000 (UTC)
commit 00159634577cf47298815075d13a357e45a34bd0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Nov 22 17:06:21 2014 -0800
pointer: Make sure to always update the focus surface after repicking
Our current and focus surfaces might get out of sync during destruction,
which is odd, but just always do this to satisfy it.
src/wayland/meta-wayland-pointer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c
index b7a36f5..5d92025 100644
--- a/src/wayland/meta-wayland-pointer.c
+++ b/src/wayland/meta-wayland-pointer.c
@@ -307,6 +307,7 @@ repick_for_event (MetaWaylandPointer *pointer,
pointer->current = NULL;
sync_focus_surface (pointer);
+ meta_wayland_pointer_update_cursor_surface (pointer);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]