rpms/gtk2/devel root-event-mask.patch, NONE, 1.1 gtk2.spec, 1.402, 1.403

Matthias Clasen mclasen at fedoraproject.org
Mon Sep 7 01:37:18 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/gtk2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19132

Modified Files:
	gtk2.spec 
Added Files:
	root-event-mask.patch 
Log Message:
Fix initial event maks of the root window


root-event-mask.patch:
 gdkwindow-x11.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--- NEW FILE root-event-mask.patch ---
diff -up gtk+-2.17.11/gdk/x11/gdkwindow-x11.c.event-mask gtk+-2.17.11/gdk/x11/gdkwindow-x11.c
--- gtk+-2.17.11/gdk/x11/gdkwindow-x11.c.event-mask	2009-09-06 21:31:08.926764157 -0400
+++ gtk+-2.17.11/gdk/x11/gdkwindow-x11.c	2009-09-06 21:32:03.142614346 -0400
@@ -455,8 +455,12 @@ _gdk_windowing_window_init (GdkScreen * 
   private->width = WidthOfScreen (screen_x11->xscreen);
   private->height = HeightOfScreen (screen_x11->xscreen);
   private->viewable = TRUE;
+
+  /* see init_randr_support() in gdkscreen-x11.c */
+  private->event_mask = GDK_STRUCTURE_MASK;
+
   _gdk_window_update_size (screen_x11->root_window);
-  
+
   _gdk_xid_table_insert (screen_x11->display,
 			 &screen_x11->xroot_window,
 			 screen_x11->root_window);


Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.402
retrieving revision 1.403
diff -u -p -r1.402 -r1.403
--- gtk2.spec	5 Sep 2009 05:35:13 -0000	1.402
+++ gtk2.spec	7 Sep 2009 01:37:18 -0000	1.403
@@ -17,7 +17,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.17/gtk+-%{version}.tar.bz2
@@ -28,7 +28,9 @@ Source3: im-cedilla.conf
 # Biarch changes
 Patch0: gtk+-2.13.5-lib64.patch
 
+# from upstream
 Patch1: gtk2-fix-install.patch
+Patch2: root-event-mask.patch
 
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
@@ -141,6 +143,7 @@ This package contains developer document
 
 %patch0 -p1 -b .lib64
 %patch1 -p1 -b .fix-install
+%patch2 -p1 -b .root-event-mask
 
 # make sure that gtkmarshalers.{c, h} get regenerated during the build
 #  - caused by print_authentication.patch
@@ -382,6 +385,9 @@ fi
 
 
 %changelog
+* Sun Sep  6 2009 Matthias Clasen <mclasen at redhat.com> - 2.17.11-2
+- Fix the initial event mask for the root window (#521137)
+
 * Sat Sep  5 2009 Matthias Clasen <mclasen at redhat.com> - 2.17.11-1
 - Update to 2.17.11
 




More information about the scm-commits mailing list