summaryrefslogtreecommitdiffstats
path: root/cm-selection-timestamp.patch
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@fedoraproject.org>2009-12-10 23:33:00 +0000
committerOwen Taylor <otaylor@fedoraproject.org>2009-12-10 23:33:00 +0000
commit97b03230fda37fecb08ffb38d83e33d4c86aa7be (patch)
treef7068621f9cd94d5ccbf2672a0ec44133e8b85e7 /cm-selection-timestamp.patch
parent2486a74f9da9245d4fe5cdf4a7cc880c49798fd5 (diff)
downloadmetacity-42012a6dac833749aa57d072e2b2297409480329.tar.gz
metacity-42012a6dac833749aa57d072e2b2297409480329.tar.xz
metacity-42012a6dac833749aa57d072e2b2297409480329.zip
- Require gnome-themes rather than nodoka-metacity-theme (rhbz 532455,metacity-2_28_0-13_fc13
Stijn Hoop) - Add patches for GNOME bugs 445447 - Application-induced window raise fails when raise_on_click off (rhbz 526045) 530702 - compiz doesn't start if metacity compositor is enabled (rhbz 537791) 559816 - Doesn't update keybindings being disabled/cleared (rhbz 532282) 567528 - Cannot raise windows from applications in Tcl/Tk and Java (rhbz 503522) 577576 - Failed to read saved session file warning on new sessions (rhbz 493245) 598231 - When Chromium rings the bell, metacity quits(rhbz 532282) 598995 - Don't focus ancestor window on a different workspace (rhbz 237158) 599097 - For mouse and sloppy focus, return to "mouse mode" on motion (rhbz 530261) 599248 - Add no_focus_windows preference to list windows that shouldn't be focused (rhbz 530262) 599261 - Add a new_windows_always_on_top preference (rhbz 530263) 599262 - Add XFCE Terminal as a terminal 604319 - XIOError unknown display (rhbz 537845)
Diffstat (limited to 'cm-selection-timestamp.patch')
-rw-r--r--cm-selection-timestamp.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/cm-selection-timestamp.patch b/cm-selection-timestamp.patch
new file mode 100644
index 0000000..93da6dd
--- /dev/null
+++ b/cm-selection-timestamp.patch
@@ -0,0 +1,43 @@
+Patch from Travis Watkins
+https://bugzilla.gnome.org/show_bug.cgi?id=530702
+
+diff -ru metacity-2.27.0/src/core/screen.c metacity-2.27.0.new/src/core/screen.c
+--- metacity-2.27.0/src/core/screen.c 2008-10-19 16:15:38.000000000 -0500
++++ metacity-2.27.0.new/src/core/screen.c 2009-08-24 04:56:26.929023537 -0500
+@@ -2782,11 +2782,14 @@
+ char selection[32];
+ Atom a;
+
++ screen->wm_cm_timestamp = meta_display_get_current_time_roundtrip (
++ screen->display);
++
+ g_snprintf (selection, sizeof(selection), "_NET_WM_CM_S%d", screen->number);
+ meta_verbose ("Setting selection: %s\n", selection);
+ a = XInternAtom (screen->display->xdisplay, selection, FALSE);
+ XSetSelectionOwner (screen->display->xdisplay, a,
+- screen->wm_cm_selection_window, CurrentTime);
++ screen->wm_cm_selection_window, screen->wm_cm_timestamp);
+ }
+
+ void
+@@ -2797,6 +2800,7 @@
+
+ g_snprintf (selection, sizeof(selection), "_NET_WM_CM_S%d", screen->number);
+ a = XInternAtom (screen->display->xdisplay, selection, FALSE);
+- XSetSelectionOwner (screen->display->xdisplay, a, None, CurrentTime);
++ XSetSelectionOwner (screen->display->xdisplay, a,
++ None, screen->wm_cm_timestamp);
+ }
+ #endif /* HAVE_COMPOSITE_EXTENSIONS */
+diff -ru metacity-2.27.0/src/core/screen-private.h metacity-2.27.0.new/src/core/screen-private.h
+--- metacity-2.27.0/src/core/screen-private.h 2008-10-19 16:15:38.000000000 -0500
++++ metacity-2.27.0.new/src/core/screen-private.h 2009-08-24 04:50:41.469785283 -0500
+@@ -113,6 +113,7 @@
+
+ #ifdef HAVE_COMPOSITE_EXTENSIONS
+ Window wm_cm_selection_window;
++ guint32 wm_cm_timestamp;
+ #endif
+
+ guint work_area_idle;
+