r36861 - in /desktop/experimental/gtk+3.0/debian: changelog patches/80_Fix-DND-with-frame-sync.patch patches/series

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Mon Mar 4 21:34:15 UTC 2013


Author: sjoerd
Date: Mon Mar  4 21:34:14 2013
New Revision: 36861

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36861
Log:
* debian/patches/80_Fix-DND-with-frame-sync.patch:
  + Added. Temporary fix for DND when using mutter with the frame sync
  protocol (from upstream git, bgo#694217).

Added:
    desktop/experimental/gtk+3.0/debian/patches/80_Fix-DND-with-frame-sync.patch
Modified:
    desktop/experimental/gtk+3.0/debian/changelog
    desktop/experimental/gtk+3.0/debian/patches/series

Modified: desktop/experimental/gtk+3.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/changelog?rev=36861&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/changelog [utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/changelog [utf-8] Mon Mar  4 21:34:14 2013
@@ -1,3 +1,11 @@
+gtk+3.0 (3.7.10-2) UNRELEASED; urgency=low
+
+  * debian/patches/80_Fix-DND-with-frame-sync.patch:
+    + Added. Temporary fix for DND when using mutter with the frame sync
+    protocol (from upstream git, bgo#694217).
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Mon, 04 Mar 2013 22:07:12 +0100
+
 gtk+3.0 (3.7.10-1) experimental; urgency=low
 
   * New upstream release.

Added: desktop/experimental/gtk+3.0/debian/patches/80_Fix-DND-with-frame-sync.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/patches/80_Fix-DND-with-frame-sync.patch?rev=36861&op=file
==============================================================================
--- desktop/experimental/gtk+3.0/debian/patches/80_Fix-DND-with-frame-sync.patch (added)
+++ desktop/experimental/gtk+3.0/debian/patches/80_Fix-DND-with-frame-sync.patch [utf-8] Mon Mar  4 21:34:14 2013
@@ -1,0 +1,30 @@
+From 02e915273845b21af223e7e5e2425569afcf1b83 Mon Sep 17 00:00:00 2001
+From: Matthias Clasen <mclasen at redhat.com>
+Date: Thu, 28 Feb 2013 07:44:00 -0500
+Subject: [PATCH] Fix DND with frame sync
+
+Mutter magically ignores override-redirect windows with geometry
+-100-100+1+1, and this breaks the frame synchronization between
+gtk+ and mutter. For now, we avoid the issue by simply giving
+the window a different geometry.
+https://bugzilla.gnome.org/show_bug.cgi?id=694217
+---
+ gtk/gtkdnd.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
+index 42f7221..4b974a5 100644
+--- a/gtk/gtkdnd.c
++++ b/gtk/gtkdnd.c
+@@ -360,7 +360,7 @@ gtk_drag_get_ipc_widget_for_screen (GdkScreen *screen)
+       result = gtk_window_new (GTK_WINDOW_POPUP);
+       gtk_window_set_screen (GTK_WINDOW (result), screen);
+       gtk_window_resize (GTK_WINDOW (result), 1, 1);
+-      gtk_window_move (GTK_WINDOW (result), -100, -100);
++      gtk_window_move (GTK_WINDOW (result), -99, -99);
+       gtk_widget_show (result);
+     }  
+ 
+-- 
+1.7.10.4
+

Modified: desktop/experimental/gtk+3.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/patches/series?rev=36861&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/patches/series [utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/patches/series [utf-8] Mon Mar  4 21:34:14 2013
@@ -10,3 +10,4 @@
 060_ignore-random-icons.patch
 061_multiarch_module_fallback.patch
 071_fix-installation-of-HTML-images.patch
+80_Fix-DND-with-frame-sync.patch




More information about the pkg-gnome-commits mailing list