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
This commit is contained in:
Elijah Newren 2005-02-20 22:38:05 +00:00 committed by Elijah Newren
parent 1f0fd137f5
commit b93960ac9d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
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> 2005-02-20 Elijah Newren <newren@gmail.com>
Patch from Joe Marcus Clarke to fix a possible crash on logout. Patch from Joe Marcus Clarke to fix a possible crash on logout.
@ -73,7 +81,7 @@
2005-02-12 Elijah Newren <newren@gmail.com> 2005-02-12 Elijah Newren <newren@gmail.com>
Don't unconditionally place splashscreens (and other 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 * src/window.c: (intervening_user_event_occurred): new function
taken from the timestamp comparison portion of the old taken from the timestamp comparison portion of the old

View File

@ -899,7 +899,7 @@ meta_window_place (MetaWindow *window,
if (placed_on == -1) if (placed_on == -1)
{ {
find_next_cascade (window, fgeom, windows, x, y, &x, &y); 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 /* Maximize windows if they are too big for their work area (bit of