Commit 286f1fec authored by Vitezslav Humpa's avatar Vitezslav Humpa

Merge branch 'devel/wayland' of gitlab.com:dogtail/dogtail into devel/wayland

parents 1e96bfc9 6b8c8c43
Pipeline #98627101 failed with stages
in 0 seconds
......@@ -65,7 +65,8 @@ def ponytail_check_is_xwayland(window_id=None, window_list=None):
def ponytail_check_connection(window_id=None, input_source="mouse"):
window_list = ponytail.window_list
if window_id not in [x['id'] for x in window_list]:
if (not isinstance(window_id, str)) and (window_list != []) and\
window_id not in [x["id"] for x in window_list]:
window_id = None
if DEBUG_DOGTAIL: LOGGER.info("Checking if possibly connected window still exists.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment