Mailinglist Archive: opensuse-commit (1083 mails)

< Previous Next >
commit gnome-screensaver
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 13 Sep 2007 18:44:09 +0200
  • Message-id: <20070913164410.0316467817A@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package gnome-screensaver
checked in at Thu Sep 13 18:44:09 CEST 2007.

--------
--- GNOME/gnome-screensaver/gnome-screensaver.changes   2007-08-31 16:39:21.000000000 +0200
+++ /mounts/work_src_done/STABLE/gnome-screensaver/gnome-screensaver.changes    2007-09-13 17:21:08.506175000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 13 17:20:32 CEST 2007 - rodrigo@xxxxxxx
+
+- Trap BadWindow errors to avoid crashes (#244713) 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-screensaver.spec ++++++
--- /var/tmp/diff_new_pack.ir4198/_old  2007-09-13 18:43:57.000000000 +0200
+++ /var/tmp/diff_new_pack.ir4198/_new  2007-09-13 18:43:57.000000000 +0200
@@ -18,7 +18,7 @@
 BuildRequires:  dbus-1-devel dbus-1-glib
 %endif
 Version:        2.19.7
-Release:        1
+Release:        8
 URL:            http://www.gnome.org/
 Group:          System/GUI/GNOME
 License:        GPL v2 or later
@@ -123,6 +123,8 @@
 %files lang -f %{name}.lang
 
 %changelog
+* Thu Sep 13 2007 - rodrigo@xxxxxxx
+- Trap BadWindow errors to avoid crashes (#244713)
 * Fri Aug 31 2007 - maw@xxxxxxx
 - Update to version 2.19.7:
   + Fixed build on Solaris (b.g.o #437225)

++++++ gnome-screensaver-xvkbd-on-lock.patch ++++++
--- /var/tmp/diff_new_pack.ir4198/_old  2007-09-13 18:43:57.000000000 +0200
+++ /var/tmp/diff_new_pack.ir4198/_new  2007-09-13 18:43:57.000000000 +0200
@@ -67,14 +67,14 @@
 +{
 +        gboolean ret = FALSE;
 +        XClassHint class_hint = { NULL, NULL };
-+
++      gdk_error_trap_push ();
 +        if (XGetClassHint (GET_DISPLAY, window, &class_hint)) {
 +                if (g_strstr_len (class_hint.res_name,
 +                                  strlen (class_hint.res_name),
 +                                  "xvkbd"))
 +                        ret = TRUE;
 +        }
-+
++      if (G_UNLIKELY (gdk_error_trap_pop () == BadWindow)) ;
 +        return ret;
 +}
 +
@@ -104,7 +104,7 @@
 +        }
 +
 +        XSelectInput (GET_DISPLAY, window, StructureNotifyMask);
-+        XWindowAttributes attr_geom;
++        XWindowAttributes attr_geom = { 0, };
 +
 +        if (!XGetWindowAttributes (GET_DISPLAY, window, &attr_geom ))
 +                return;


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread