diff options
author | Elijah Newren <newren gmail com> | 2007-04-16 16:23:12 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2007-04-16 16:23:12 +0000 |
commit | 966e36b9f6c880fb9f925d290123fcec2619f90a (patch) | |
tree | 2ac1e26e7dbe9f2dd695e7cf64d3cade485b9af3 | |
parent | ee3ae1584f405a7df607e8d1640cbc327438b8da (diff) | |
download | metacity-966e36b9f6c880fb9f925d290123fcec2619f90a.tar.gz |
Prevent metacity from "forgetting" which machine a window is on. #418552
2007-04-16 Elijah Newren <newren gmail com>
Prevent metacity from "forgetting" which machine a window is on.
#418552
* src/window.c (meta_window_new_with_attrs): reorder the property
loading so that we know the wm_client_machine when we load the
name of the window and can modify the window name accordingly.
svn path=/trunk/; revision=3201
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/window.c | 9 |
2 files changed, 14 insertions, 4 deletions
@@ -1,5 +1,14 @@ 2007-04-16 Elijah Newren <newren gmail com> + Prevent metacity from "forgetting" which machine a window is on. + #418552 + + * src/window.c (meta_window_new_with_attrs): reorder the property + loading so that we know the wm_client_machine when we load the + name of the window and can modify the window name accordingly. + +2007-04-16 Elijah Newren <newren gmail com> + * configure.in: post-release bump to 2.19.5. 2007-04-16 Elijah Newren <newren gmail com> diff --git a/src/window.c b/src/window.c index 59267c80..e4790219 100644 --- a/src/window.c +++ b/src/window.c @@ -556,14 +556,15 @@ meta_window_new_with_attrs (MetaDisplay *display, window->xgroup_leader = None; meta_window_compute_group (window); - /* Fill these in the order we want them to be gotten. - * we want to get window name and class first - * so we can use them in error messages and such. + /* Fill these in the order we want them to be gotten. we want to + * get window name and class first so we can use them in error + * messages and such. However, name is modified depending on + * wm_client_machine, so push it slightly sooner. */ i = 0; + initial_props[i++] = display->atom_wm_client_machine; initial_props[i++] = display->atom_net_wm_name; initial_props[i++] = XA_WM_CLASS; - initial_props[i++] = display->atom_wm_client_machine; initial_props[i++] = display->atom_net_wm_pid; initial_props[i++] = XA_WM_NAME; initial_props[i++] = display->atom_net_wm_icon_name; |