[gtk+/gdk-backend-wayland] wayland: Unref the keyboard focus surface when losing keyboard focus
- From: Kristian Høgsberg <krh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend-wayland] wayland: Unref the keyboard focus surface when losing keyboard focus
- Date: Thu, 10 Feb 2011 16:05:02 +0000 (UTC)
commit df57389190a0077fa8de326b205fdbef1baafc2f
Author: Kristian Høgsberg <krh bitplanet net>
Date: Thu Feb 10 10:59:30 2011 -0500
wayland: Unref the keyboard focus surface when losing keyboard focus
gdk/wayland/gdkdevice-wayland.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 8abdb09..6f4237c 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -555,7 +555,7 @@ input_handle_keyboard_focus(void *data,
event->focus_change.in = FALSE;
gdk_event_set_device (event, device->keyboard);
- g_object_unref(device->pointer_focus);
+ g_object_unref(device->keyboard_focus);
device->keyboard_focus = NULL;
GDK_NOTE (EVENTS,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]