diff options
author | Elijah Newren <newren gmail com> | 2006-08-04 22:33:20 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2006-08-04 22:33:20 +0000 |
commit | 74d4768b8e848662985fde7bd2101f1f8fcac551 (patch) | |
tree | 108ec88591e114c2faad9b3e16b2b4d80007fcd5 /src | |
parent | fe74d5da13a60f6ebef250496d17f7592195df53 (diff) | |
download | metacity-74d4768b8e848662985fde7bd2101f1f8fcac551.tar.gz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 1c48e7c8..0d56e69d 100644 --- a/src/window.c +++ b/src/window.c @@ -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; |