]> git.mdlowis.com Git - proto/labwc.git/commit
interactive: un-maximize only axes that are being resized
authorJohn Lindgren <john@jlindgren.net>
Mon, 1 Sep 2025 16:07:52 +0000 (12:07 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 1 Sep 2025 19:44:09 +0000 (20:44 +0100)
commitf9f4219ed495885ce1d679dcb2395b3b386f3765
tree5d21e187a92770a78a8e6e7364a1cd65c1fb0093
parent6d2140c4b737f643b22164b4fff21af499a1aded
interactive: un-maximize only axes that are being resized

When resizing in only one axis (horizontal/vertical), there's no reason
to un-maximize the other axis.

Supporting logic was landed in the previous commit and in ebd39dfe0d1d
(which fixed the client-initiated resize case), so all that remains is
to make a small change in interactive_begin().
src/interactive.c