diff options
author | Colin Walters <walters@fedoraproject.org> | 2008-02-07 15:10:37 +0000 |
---|---|---|
committer | Colin Walters <walters@fedoraproject.org> | 2008-02-07 15:10:37 +0000 |
commit | 2e449fc1bae7d5a66234aba3c421e7f4ee28b923 (patch) | |
tree | 62e3e227971d12791748fb418cb0aa4b271170cc | |
parent | c4d4a94bec938858a53e230922ce732824678939 (diff) | |
download | metacity-2e449fc1bae7d5a66234aba3c421e7f4ee28b923.tar.gz metacity-2e449fc1bae7d5a66234aba3c421e7f4ee28b923.tar.xz metacity-2e449fc1bae7d5a66234aba3c421e7f4ee28b923.zip |
add patchmetacity-2_21_8_svn3554-1_fc9
-rw-r--r-- | metacity-2.21.13-dont-move-windows.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/metacity-2.21.13-dont-move-windows.patch b/metacity-2.21.13-dont-move-windows.patch new file mode 100644 index 0000000..a154c43 --- /dev/null +++ b/metacity-2.21.13-dont-move-windows.patch @@ -0,0 +1,30 @@ +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); |