/[pkgs]/devel/metacity/metacity-2.21.13-dont-move-windows.patch
ViewVC logotype

Contents of /devel/metacity/metacity-2.21.13-dont-move-windows.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Feb 7 15:10:37 2008 UTC (21 months, 2 weeks ago) by walters
Branch: MAIN
CVS Tags: metacity-2_27_1-1_fc12, F-12-split, metacity-2_23_233-1_fc10, metacity-2_23_21-1_fc10, metacity-2_25_8-1_fc11, metacity-2_27_0-9_fc12, metacity-2_25_8-3_fc11, metacity-2_23_610-2_fc10, metacity-2_24_0-2_fc10, metacity-2_27_0-1_fc12, metacity-2_28_0-1_fc12, F-11-split, metacity-2_25_34-2_fc11, metacity-2_25_144-5_fc11, metacity-2_25_144-4_fc11, F-10-split, metacity-2_23_8-1_fc10, metacity-2_21_13-1_fc9, metacity-2_25_144-2_fc11, metacity-2_27_0-2_fc12, metacity-2_26_0-1_fc11, metacity-2_27_0-4_fc12, metacity-2_27_0-6_fc12, metacity-2_24_0-3_fc10, metacity-2_22_0-1_fc9, metacity-2_27_0-7_fc12, metacity-2_25_144-6_fc11, metacity-2_23_610-1_fc10, metacity-2_25_144-1_fc11, metacity-2_23_55-1_fc10, metacity-2_25_8-4_fc11, metacity-2_27_0-5_fc12, metacity-2_27_0-8_fc12, metacity-2_25_8-2_fc11, metacity-2_23_34-1_fc10, metacity-2_22_0-3_fc10, metacity-2_25_5-1_fc11, F-9-split, metacity-2_25_34-1_fc11, metacity-2_24_0-1_fc10, metacity-2_25_89-1_fc11, metacity-2_21_21-1_fc9, metacity-2_21_8_svn3554-1_fc9, metacity-2_25_5-2_fc11, metacity-2_23_13-1_fc10, metacity-2_22_0-2_fc9, metacity-2_25_5-4_fc11, metacity-2_25_5-3_fc11, metacity-2_25_55-1_fc11, metacity-2_23_144-1_fc10, metacity-2_27_0-3_fc12, metacity-2_26_0-2_fc12, HEAD
File MIME type: text/x-patch
add patch
1 Index: src/core/window.c
2 ===================================================================
3 --- src/core/window.c (revision 3554)
4 +++ src/core/window.c (working copy)
5 @@ -2882,8 +2882,23 @@
6 /* Get window on current or given workspace */
7 if (workspace == NULL)
8 workspace = window->screen->active_workspace;
9 - if (!meta_window_located_on_workspace (window, workspace))
10 - meta_window_change_workspace (window, workspace);
11 +
12 + /* For non-transient windows, we just set up a pulsing indicator,
13 + rather than move windows or workspaces.
14 + See http://bugzilla.gnome.org/show_bug.cgi?id=482354 */
15 + if (window->xtransient_for == None &&
16 + !meta_window_located_on_workspace (window, workspace))
17 + {
18 + meta_window_set_demands_attention (window);
19 + /* We've marked it as demanding, don't need to do anything else. */
20 + return;
21 + }
22 + else if (window->xtransient_for != None)
23 + {
24 + /* Move transients to current workspace - preference dialogs should appear over
25 + the source window. */
26 + meta_window_change_workspace (window, workspace);
27 + }
28
29 if (window->shaded)
30 meta_window_unshade (window, timestamp);

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2