summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-02-20 22:40:08 +0000
committerElijah Newren <newren@src.gnome.org>2005-02-20 22:40:08 +0000
commit79f2b916794c4a6ade9b0a11489da9d0d00ca20b (patch)
treebfd9cc76f430e13c1669d237b914ac6ece8d75bb
parentb93960ac9dcc95e14e488f5be8e14e79b8497d25 (diff)
downloadmetacity-79f2b916794c4a6ade9b0a11489da9d0d00ca20b.tar.gz
Ignore all focus and focus-stealing-prevention code in meta_window_show
2005-02-20 Elijah Newren <newren@gmail.com> * src/window.c (meta_window_show): Ignore all focus and focus-stealing-prevention code in meta_window_show when not showing the window for the first time. Fixes #167199.
-rw-r--r--ChangeLog6
-rw-r--r--src/window.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a36d17ff..85a0029d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-02-20 Elijah Newren <newren@gmail.com>
+ * src/window.c (meta_window_show): Ignore all focus and
+ focus-stealing-prevention code in meta_window_show when not
+ showing the window for the first time. Fixes #167199.
+
+2005-02-20 Elijah Newren <newren@gmail.com>
+
Fix an obscure xinerama placement bug with windows that are too
large to fit in the workarea in both dimensions. #166757
diff --git a/src/window.c b/src/window.c
index c281b87f..e4bb6cd0 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1696,7 +1696,8 @@ meta_window_show (MetaWindow *window)
if ( !takes_focus_on_map &&
window->display->focus_window != NULL &&
- !place_on_top_on_map )
+ !place_on_top_on_map &&
+ window->showing_for_first_time )
{
if (meta_window_is_ancestor_of_transient (window->display->focus_window,
window))