summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-02-20 22:38:05 +0000
committerElijah Newren <newren@src.gnome.org>2005-02-20 22:38:05 +0000
commitb93960ac9dcc95e14e488f5be8e14e79b8497d25 (patch)
treeeea50a48373956e624585da149c1783e3a562254
parent1f0fd137f5959d445a8a828d4295b44c58ceb5c8 (diff)
downloadmetacity-b93960ac9dcc95e14e488f5be8e14e79b8497d25.tar.gz
Fix an obscure xinerama placement bug with windows that are too large to
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 * src/place.c: (meta_window_place): use the current xinerama instead of arbitrarily resetting to 0
-rw-r--r--ChangeLog10
-rw-r--r--src/place.c2
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ee921269..a36d17ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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
+
+ * src/place.c: (meta_window_place): use the current xinerama
+ instead of arbitrarily resetting to 0
+
+2005-02-20 Elijah Newren <newren@gmail.com>
+
Patch from Joe Marcus Clarke to fix a possible crash on logout.
#167935. Thanks for fixing my mistakes, Joe!
@@ -73,7 +81,7 @@
2005-02-12 Elijah Newren <newren@gmail.com>
Don't unconditionally place splashscreens (and other
- not-to-befocused windows) below the focus window. Fixes #167042.
+ not-to-be-focused windows) below the focus window. Fixes #167042.
* src/window.c: (intervening_user_event_occurred): new function
taken from the timestamp comparison portion of the old
diff --git a/src/place.c b/src/place.c
index ef0bf046..d1357fab 100644
--- a/src/place.c
+++ b/src/place.c
@@ -899,7 +899,7 @@ meta_window_place (MetaWindow *window,
if (placed_on == -1)
{
find_next_cascade (window, fgeom, windows, x, y, &x, &y);
- placed_on = 0;
+ placed_on = window->screen->last_xinerama_index;
}
/* Maximize windows if they are too big for their work area (bit of