diff options
author | Miguel A. Colón Vélez <[email protected]> | 2015-01-01 22:44:29 -0500 |
---|---|---|
committer | Miguel A. Colón Vélez <[email protected]> | 2015-01-01 22:44:29 -0500 |
commit | 060838853303871a9fbb1ddfe0228668318070e7 (patch) | |
tree | a96c7bcf4d182cf42c076584e20a9114760f571a /src/wm-tester/test-resizing.c | |
parent | 07f6f968dbe96ff7c8eb4347f2bbb4457f73c30a (diff) | |
download | marco-060838853303871a9fbb1ddfe0228668318070e7.tar.bz2 marco-060838853303871a9fbb1ddfe0228668318070e7.tar.xz |
BugFix: Can't retile to a different corner with keybindings.
has_maximize_func implies
window->has_resize_func
!window->fullscreen
window->has_resize_func implies
(window->size_hints.min_width < window->size_hints.max_width) ||
(window->size_hints.min_height < window->size_hints.max_height)
A tiled window implies that it could be tiled.
A maximized window implies that it could be tiled.
.
Therefore simplify the if and add window->shaded to make it equivalent to the
macro but allowing to tile already maximized/tiled windows.
.
If this commit causes a regression it probably means that a call to
meta_window_recalc_features is missing.
.
This bug already existed but can only be triggered by the new keybindings.
Diffstat (limited to 'src/wm-tester/test-resizing.c')
0 files changed, 0 insertions, 0 deletions