diff options
author | Elijah Newren <newren@gmail.com> | 2005-02-12 07:50:21 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-02-12 07:50:21 +0000 |
commit | ff9ef866cc50fbd5f6fad224272ddebfececabea (patch) | |
tree | 770d44a1b69387bcbab361525474066e9fed97a2 /libwnck | |
parent | e346ba5bc8c8df166a14bf998bf7b15cc0b80403 (diff) | |
download | libwnck-ff9ef866cc50fbd5f6fad224272ddebfececabea.tar.gz |
libwnck isn't the window manager and shouldn't act like it. Combined with
2005-02-11 Elijah Newren <newren@gmail.com>
* libwnck/window.c: (wnck_window_activate_transient): libwnck
isn't the window manager and shouldn't act like it. Combined with
the Metacity patch in bug 166894, this fixes #166826.
Diffstat (limited to 'libwnck')
-rw-r--r-- | libwnck/window.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/libwnck/window.c b/libwnck/window.c index eef8cd7..55dfd38 100644 --- a/libwnck/window.c +++ b/libwnck/window.c @@ -1170,16 +1170,9 @@ wnck_window_activate_transient (WnckWindow *window) } if (transient != NULL) - { - /* Raise but don't focus the main window */ - XRaiseWindow (gdk_display, window->priv->xwindow); - /* then activate the transient */ - wnck_window_activate (transient); - } + wnck_window_activate (transient); else - { - wnck_window_activate (window); - } + wnck_window_activate (window); } /** |