]> git.mdlowis.com Git - proto/labwc.git/commit
xdg: destroy foreign toplevel handle on unmap
authortokyo4j <hrak1529@gmail.com>
Tue, 13 Aug 2024 01:02:46 +0000 (10:02 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 16 Aug 2024 20:38:15 +0000 (21:38 +0100)
commit8b12b50137859fef979b46c1ab9c84465b60a95a
tree00e9ae3f6827acfa8be07035dc49bdd0961cfc9c
parentf31457392b392379aa0ae12ae7f13e854bbed7ed
xdg: destroy foreign toplevel handle on unmap

xdg-shell protocol says:
    All active operations (e.g., move, resize) are canceled and all
    attributes (e.g. title, state, stacking, ...) are discarded for an
    xdg_toplevel surface when it is unmapped.
So, when a xdg-toplevel is unmapped (not minimized), the corresponding
foreign handler should be destroyed to reset attributes.
src/xdg.c