r16351 - in /desktop/unstable/libwnck/debian: changelog patches/60_last-window.patch
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Thu Jun 26 20:33:48 UTC 2008
Author: lool
Date: Thu Jun 26 20:33:48 2008
New Revision: 16351
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16351
Log:
New patch, 60_last-window, fix handling of the last window which
disappears; from SVN r1629; see also
<http://code.google.com/p/xmonad/issues/detail?id=195>; thanks
Marco Túlio Gontijo.
Added:
desktop/unstable/libwnck/debian/patches/60_last-window.patch
Modified:
desktop/unstable/libwnck/debian/changelog
Modified: desktop/unstable/libwnck/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libwnck/debian/changelog?rev=16351&op=diff
==============================================================================
--- desktop/unstable/libwnck/debian/changelog (original)
+++ desktop/unstable/libwnck/debian/changelog Thu Jun 26 20:33:48 2008
@@ -1,3 +1,12 @@
+libwnck (2.22.1-2) unstable; urgency=low
+
+ * New patch, 60_last-window, fix handling of the last window which
+ disappears; from SVN r1629; see also
+ <http://code.google.com/p/xmonad/issues/detail?id=195>; thanks
+ Marco Túlio Gontijo.
+
+ -- Loic Minier <lool at dooz.org> Thu, 26 Jun 2008 22:28:04 +0200
+
libwnck (2.22.1-1) unstable; urgency=low
* New upstream bugfix release.
Added: desktop/unstable/libwnck/debian/patches/60_last-window.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libwnck/debian/patches/60_last-window.patch?rev=16351&op=file
==============================================================================
--- desktop/unstable/libwnck/debian/patches/60_last-window.patch (added)
+++ desktop/unstable/libwnck/debian/patches/60_last-window.patch Thu Jun 26 20:33:48 2008
@@ -1,0 +1,27 @@
+From SVN r1629
+
+2008-06-11 Vincent Untz <vuntz at gnome.org>
+
+ * libwnck/screen.c: (arrays_contain_same_windows): return TRUE when
+ both list of windows are empty. Fix a bug where when the last window
+ disappears, libwnck internals don't get updated and you still have a
+ window in the window list, eg.
+ See http://code.google.com/p/xmonad/issues/detail?id=195
+ Patch by Malebria <malebria at riseup.net>
+
+Index: libwnck/screen.c
+===================================================================
+--- libwnck/screen.c (revision 1628)
++++ libwnck/screen.c (revision 1629)
+@@ -1481,9 +1481,8 @@ arrays_contain_same_windows (Window *a,
+ if (a_len != b_len)
+ return FALSE;
+
+- if (a_len == 0 ||
+- b_len == 0)
+- return FALSE; /* one was nonzero */
++ if (a_len == 0)
++ return TRUE; /* both are empty */
+
+ a_tmp = g_new (Window, a_len);
+ b_tmp = g_new (Window, b_len);
More information about the pkg-gnome-commits
mailing list