Patch from Dmitry Timoshkov to fix the heuristic for determining if

2006-08-04  Elijah Newren  <newren gmail com>

	Patch from Dmitry Timoshkov to fix the heuristic for determining
	if windows can be made fullscreen (needed for WINE and possible
	also some legacy applications).  Part of #346927.

	* src/window.c (recalc_window_features): ignore window decoration
	when checking size for determing whether an unresizable window
	should be allowed ot be considered for fullscreening
This commit is contained in:
Elijah Newren 2006-08-04 22:33:20 +00:00 committed by Elijah Newren
parent fe74d5da13
commit 74d4768b8e
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,13 @@
2006-08-04 Elijah Newren <newren gmail com>
Patch from Dmitry Timoshkov to fix the heuristic for determining
if windows can be made fullscreen (needed for WINE and possible
also some legacy applications). Part of #346927.
* src/window.c (recalc_window_features): ignore window decoration
when checking size for determing whether an unresizable window
should be allowed ot be considered for fullscreening
2006-07-31 Björn Lindqvist <bjourne@gmail.com>
* src/window.c: Make it so maximized windows do not have rounded

View File

@ -5898,8 +5898,7 @@ recalc_window_features (MetaWindow *window)
* actually fullscreen to xinerama head size not screen size)
*/
if (window->size_hints.min_width == window->screen->rect.width &&
window->size_hints.min_height == window->screen->rect.height &&
!window->decorated)
window->size_hints.min_height == window->screen->rect.height)
; /* leave fullscreen available */
else
window->has_fullscreen_func = FALSE;