summaryrefslogtreecommitdiff
path: root/libwnck
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-02-12 07:50:21 +0000
committerElijah Newren <newren@src.gnome.org>2005-02-12 07:50:21 +0000
commitff9ef866cc50fbd5f6fad224272ddebfececabea (patch)
tree770d44a1b69387bcbab361525474066e9fed97a2 /libwnck
parente346ba5bc8c8df166a14bf998bf7b15cc0b80403 (diff)
downloadlibwnck-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.c11
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);
}
/**