[gtk+/xi2-for-master] Fix another test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/xi2-for-master] Fix another test
- Date: Tue, 25 May 2010 21:44:49 +0000 (UTC)
commit 82e87fae326d9065c520dff99c9229f7fecce92e
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 25 17:43:08 2010 -0400
Fix another test
gtk/gtkwindow.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index a0fdea6..eab1ff5 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5287,6 +5287,7 @@ do_focus_change (GtkWidget *widget,
* selected for events from this window
*/
if (gdk_device_get_device_type (dev) != GDK_DEVICE_TYPE_MASTER &&
+ widget->window &&
!gdk_window_get_device_events (widget->window, dev))
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]