]> git.mdlowis.com Git - proto/labwc.git/commit
view: minimize parents/children together
authorJohan Malm <jgm323@gmail.com>
Wed, 2 Aug 2023 19:57:39 +0000 (20:57 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 5 Aug 2023 14:25:00 +0000 (15:25 +0100)
commite991eae1033bc94173ff4cf9322dd75c645032c7
tree20eb0b8a31361db2451df04842997caa33490249
parentd961dbf9b04f9e01267503cdd042614a85956e72
view: minimize parents/children together

Minimize the whole view-hierarchy from top to bottom regardless of which
one in the hierarchy requested the minimize. For example, if an 'About' or
'Open File' dialog is minimized, its toplevel is minimized also, and vice
versa.

For reference:
- This is consistent with in openbox, where child views (dialogs) can be
  minimized, but when doing so the parent is also minimized.
- In mutter these types of dialogs cannot be minimized (via client-menu or
  otherwise).
- In both openbox and mutter, when a toplevel window is minimized any open
  children are also minimized.
include/view.h
src/view.c
src/xdg.c
src/xwayland.c