aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2020-06-30 10:10:23 -0600
committerSimon Ser <contact@emersion.fr>2020-06-30 21:21:25 +0200
commitb1a47245a12356b048bd6c8841ebbdd2ae0b145f (patch)
tree90ac014e7e5a42c1c2a87079af0507258d8372c7 /util
parent84d2f30faae963cdf9ec32ec015428c867ad1049 (diff)
xwm: Destroy xwm on hangup or error
If Xwayland is restarted, the ready handler assumes there is no xwm instance. This means all of xwm was leaked on Xwayland restart. This caused compositors to consume all cpu resources, where time is spent dispatching. Now we destroy xwm if we get an event mask containing WL_EVENT_HANGUP or WL_EVENT_ERROR.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions