Commit 5d3121e
authored
constraints: Allow resize of windows moved above screen (#696)
If the titlebar of a window has been moved above the screen by a user
via an unconstrained move, then any constrained user resize following
this move will cause the window to jump below the top of the screen or
cause other glitchy behavior.
This commit removes the constraint that the titlebar of a window must be
below the top of the screen for any resize that is both (1) triggered by
a user and (2) is a resize that affects only the left, right, or bottom
edges of the window. This allows users to move a window partially above
the screen and then resize the window to be wider or resize the bottom
edge of the window to make it taller or shorter.
This is a backport of 5ba364a9476905d9b92e7dc6cdc2f273bcda2498.1 parent ea89926 commit 5d3121e
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1720 | 1720 | | |
1721 | 1721 | | |
1722 | 1722 | | |
| 1723 | + | |
1723 | 1724 | | |
1724 | 1725 | | |
1725 | 1726 | | |
| |||
1734 | 1735 | | |
1735 | 1736 | | |
1736 | 1737 | | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
1737 | 1750 | | |
1738 | 1751 | | |
1739 | 1752 | | |
| |||
1743 | 1756 | | |
1744 | 1757 | | |
1745 | 1758 | | |
| 1759 | + | |
1746 | 1760 | | |
1747 | 1761 | | |
1748 | 1762 | | |
| |||
0 commit comments