rpms/metacity/devel metacity-2.21.13-dont-move-windows.patch, NONE, 1.1
Colin Walters (walters)
fedora-extras-commits at redhat.com
Thu Feb 7 15:10:50 UTC 2008
- Previous message (by thread): rpms/libsigc++20/devel libsigc++.spec,1.14,1.15
- Next message (by thread): rpms/coreutils/devel coreutils-DIR_COLORS.256color, 1.1, 1.2 coreutils-colorls.csh, 1.5, 1.6 coreutils-colorls.sh, 1.6, 1.7 coreutils-selinux.patch, 1.39, 1.40 coreutils.spec, 1.192, 1.193
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: walters
Update of /cvs/pkgs/rpms/metacity/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17860
Added Files:
metacity-2.21.13-dont-move-windows.patch
Log Message:
add patch
metacity-2.21.13-dont-move-windows.patch:
--- NEW FILE metacity-2.21.13-dont-move-windows.patch ---
Index: src/core/window.c
===================================================================
--- src/core/window.c (revision 3554)
+++ src/core/window.c (working copy)
@@ -2882,8 +2882,23 @@
/* Get window on current or given workspace */
if (workspace == NULL)
workspace = window->screen->active_workspace;
- if (!meta_window_located_on_workspace (window, workspace))
- meta_window_change_workspace (window, workspace);
+
+ /* For non-transient windows, we just set up a pulsing indicator,
+ rather than move windows or workspaces.
+ See http://bugzilla.gnome.org/show_bug.cgi?id=482354 */
+ if (window->xtransient_for == None &&
+ !meta_window_located_on_workspace (window, workspace))
+ {
+ meta_window_set_demands_attention (window);
+ /* We've marked it as demanding, don't need to do anything else. */
+ return;
+ }
+ else if (window->xtransient_for != None)
+ {
+ /* Move transients to current workspace - preference dialogs should appear over
+ the source window. */
+ meta_window_change_workspace (window, workspace);
+ }
if (window->shaded)
meta_window_unshade (window, timestamp);
- Previous message (by thread): rpms/libsigc++20/devel libsigc++.spec,1.14,1.15
- Next message (by thread): rpms/coreutils/devel coreutils-DIR_COLORS.256color, 1.1, 1.2 coreutils-colorls.csh, 1.5, 1.6 coreutils-colorls.sh, 1.6, 1.7 coreutils-selinux.patch, 1.39, 1.40 coreutils.spec, 1.192, 1.193
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list