]> git.mdlowis.com Git - proto/labwc.git/commit
view: Refactor view destruction
authorJoshua Ashton <joshua@froggi.es>
Thu, 21 Apr 2022 23:33:44 +0000 (23:33 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 21 Apr 2022 23:58:52 +0000 (01:58 +0200)
commitd0b9680d00563cbb1c31f07696fdc6a99a0d66bd
tree733f1f1796ce2937ac02cfc3dcd0b9636cb45e1d
parentdee370f1b471b900ce79d6c9337159c645b4c7c5
view: Refactor view destruction

Consolidates all of the view destruction code for xwl + xdg into one function.

Fixes several notable bugs along the way:
  - Fixes a crash when alt tabbing when a selected view gets destroyed.
  - Fixes the OSD not updating to reflect a view has been destroyed.
include/labwc.h
src/view.c
src/xdg.c
src/xwayland.c