weston/xwayland
Pekka Paalanen a24989e47b xwm: remove configure_source on dispatch
This function is called also directly from weston_wm_window_set_toplevel(). If
configure_source is set at that point, simply resetting the pointer will "leak"
the source until it fires and calls this function again.

Let's keep the variable up-to-date by removing the source when called,
dispatched or not. This removes the second call. I only hope it doesn't cause
issues. This is also necessary if we intend to remove the source on window
destruction too.

Found by inspection.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2020-01-29 11:31:11 +00:00
..
dnd.c xwm: dnd does not need cairo-util.h 2019-10-04 15:56:19 +03:00
hash.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
hash.h include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
launcher.c xwayland: stop direct accessing core struct member 2020-01-29 09:55:24 +00:00
meson.build build: separate deps for int and ext libweston users 2019-10-24 13:29:33 +03:00
selection.c libweston: add missing include 2020-01-29 09:49:41 +00:00
window-manager.c xwm: remove configure_source on dispatch 2020-01-29 11:31:11 +00:00
xwayland-internal-interface.h xwayland: add set_toplevel_with_position to internal API 2017-01-18 13:21:02 +02:00
xwayland.h xwm: no need for compositor/weston.h 2019-10-04 17:14:22 +03:00