Igalia / chromium

Old repo. See https://crbug.com/578890 instead.
https://chromium.googlesource.com/chromium/src.git
BSD 3-Clause "New" or "Revised" License
115 stars 16 forks source link

fixup! Make window interactions (move, resize, double click and etc) working #444

Closed msisov closed 6 years ago

msisov commented 6 years ago

Make sure that compound event filter is destroyed properly.

It may happen that OnClosed is closed, which leads to DesktopNativeWidgetAura destructions. There is also another path when DesktopNativeWidgetAura can be destroyed - CloseNow. That is, if OnClosed has not been closed, CloseNow proceeds and destructs DesktopNativeWidgetAura.

This patch makes it sure that the non_client_eventfilter is destroyed in any case.