diff options
author | Elijah Newren <newren@gmail.com> | 2005-02-20 22:38:05 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-02-20 22:38:05 +0000 |
commit | b93960ac9dcc95e14e488f5be8e14e79b8497d25 (patch) | |
tree | eea50a48373956e624585da149c1783e3a562254 | |
parent | 1f0fd137f5959d445a8a828d4295b44c58ceb5c8 (diff) | |
download | metacity-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-- | ChangeLog | 10 | ||||
-rw-r--r-- | src/place.c | 2 |
2 files changed, 10 insertions, 2 deletions
@@ -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 |