diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-15 06:43:43 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-15 06:43:43 -0800 |
commit | 4ae2cbdc153d7f7bc1d96616cb4da1b01c8d5ed5 (patch) | |
tree | c4316ccbeb89883ddcd046e2a6eac7f2d9ea925c /src/core | |
parent | 62a708d461e08275d6b85985f5fa13fa8fbc85f7 (diff) | |
parent | 1b638654a247ae17bf0aa3d9d78f8f8e16453810 (diff) | |
download | marco-4ae2cbdc153d7f7bc1d96616cb4da1b01c8d5ed5.tar.bz2 marco-4ae2cbdc153d7f7bc1d96616cb4da1b01c8d5ed5.tar.xz |
Merge pull request #79 from infirit/master
constraints: don't apply fullscreen workarounds for CSD windows
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/constraints.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/constraints.c b/src/core/constraints.c index 16d9b107..5a3ef438 100644 --- a/src/core/constraints.c +++ b/src/core/constraints.c @@ -423,9 +423,15 @@ setup_constraint_info (ConstraintInfo *info, xinerama_info->number); /* Workaround braindead legacy apps that don't know how to - * fullscreen themselves properly. + * fullscreen themselves properly - don't get fooled by + * windows which hide their titlebar when maximized or which are + * client decorated; that's not the same as fullscreen, even + * if there are no struts making the workarea smaller than + * the monitor. */ + if (meta_prefs_get_force_fullscreen() && + window->decorated && meta_rectangle_equal (new, &xinerama_info->rect) && window->has_fullscreen_func && !window->fullscreen) |