-
Committer:
Sami Jaktholm
-
Date:
2013-07-19 06:35:44 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3766.
-
Revision ID:
sjakthol@outlook.com-20130719063544-hyobqr329mlwrw5u
Bias the current viewport in addWindowSizeChanges.
If window is visible in the current viewport, use that viewport when
calculating geometries in addWindowSizeChanges. Otherwise the current method
is used.
This way visible windows are maximized in the current viewport.
However, offscreen windows won't jump back to the active viewport if window
maximizes by itself or addWindowSizeChanges is called for some other reason.