diff --git a/backends/libwayland_debug_output/parse.py b/backends/libwayland_debug_output/parse.py index 786bb90..cf73f50 100644 --- a/backends/libwayland_debug_output/parse.py +++ b/backends/libwayland_debug_output/parse.py @@ -31,9 +31,10 @@ def __init__(self) -> None: self.arg_re = re.compile(all_args_re) timestamp_regex = r'\[\s*(?P\d+[\.,]\d+)\s*\]' conn_re = r'( \<(?P\w+)\>)?' + queue_re = r'( {.*})?' message_regex = r'(?P\w+)[@#](?P\d+)\.(?P\w+)\((?P.*)\)$' - self.out_msg_re = re.compile(timestamp_regex + conn_re + ' -> ' + message_regex) - self.in_msg_re = re.compile(timestamp_regex + conn_re + ' ' + message_regex) + self.out_msg_re = re.compile(timestamp_regex + queue_re + conn_re + ' -> ' + message_regex) + self.in_msg_re = re.compile(timestamp_regex + queue_re + conn_re + ' ' + message_regex) @staticmethod def lazy_get_instance() -> 'WlPatterns':