-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
PRs-welcomeIssues which are unlikely to be fixed unless someone sends a PRIssues which are unlikely to be fixed unless someone sends a PRenhancement
Description
First, please, consider I am not really sure if it's necessary, then would like an opinion
In [1]: sock.watch(["view-set-output"])
Out[1]: {'result': 'ok'}
In [2]: while True:
...: event = sock.read_next_event()
...: print(event)
...:
{'event': 'view-set-output', 'output': {'id': 389, 'name': 'DP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1920, 'height': 1080}, 'workarea': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 17, 'pid': 21612, 'title': 'store.steampowered.com - Bem-vindo(a) ao Steam — Firefox Developer Edition', 'app-id': 'firefox-developer-edition', 'base-geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'parent': -1, 'geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'bbox': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 7377950667441, 'role': 'toplevel', 'mapped': True, 'layer': 'none', 'tiled-edges': 15, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': 1, 'min-size': {'width': 450, 'height': 120}, 'max-size': {'width': 16384, 'height': 16384}, 'focusable': True, 'type': 'toplevel'}}
{'event': 'view-set-output', 'output': {'id': 389, 'name': 'DP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1920, 'height': 1080}, 'workarea': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 407, 'pid': 62795, 'title': 'IPython: home/neo', 'app-id': 'kitty', 'base-geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'parent': -1, 'geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'bbox': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 7405258024450, 'role': 'toplevel', 'mapped': True, 'layer': 'none', 'tiled-edges': 15, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': 1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'toplevel'}}
{'event': 'view-set-output', 'output': {'id': 389, 'name': 'DP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1920, 'height': 1080}, 'workarea': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 393, 'pid': -1, 'title': 'layer-shell', 'app-id': 'swww-daemon', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'background', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'background'}}
{'event': 'view-set-output', 'output': {'id': 389, 'name': 'DP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1920, 'height': 1080}, 'workarea': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 395, 'pid': -1, 'title': 'layer-shell', 'app-id': 'waypanel', 'base-geometry': {'x': -1450, 'y': 1010, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': -1450, 'y': 1010, 'width': 0, 'height': 0}, 'bbox': {'x': -1450, 'y': 1010, 'width': 0, 'height': 0}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'bottom', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'background'}}
{'event': 'view-set-output', 'output': {'id': 389, 'name': 'DP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1920, 'height': 1080}, 'workarea': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 396, 'pid': -1, 'title': 'layer-shell', 'app-id': 'waypanel', 'base-geometry': {'x': 0, 'y': 286, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 286, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 286, 'width': 0, 'height': 0}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'bottom', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'background'}}
{'event': 'view-set-output', 'output': {'id': 389, 'name': 'DP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1920, 'height': 1080}, 'workarea': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 397, 'pid': -1, 'title': 'layer-shell', 'app-id': 'waypanel', 'base-geometry': {'x': 1878, 'y': 555, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 1878, 'y': 555, 'width': 0, 'height': 0}, 'bbox': {'x': 1878, 'y': 555, 'width': 0, 'height': 0}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'bottom', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'background'}}
{'event': 'view-set-output', 'output': {'id': 389, 'name': 'DP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1920, 'height': 1080}, 'workarea': {'x': 0, 'y': 0, 'width': 1920, 'height': 1080}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 398, 'pid': -1, 'title': 'layer-shell', 'app-id': 'waypanel', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 7260032228578, 'role': 'desktop-environment', 'mapped': False, 'layer': 'top', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'panel'}}
{'event': 'view-set-output', 'output': {'id': 391, 'name': 'DP-2', 'geometry': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'workarea': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'wset-index': 47, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 11, 'pid': 21108, 'title': 'Cinny', 'app-id': 'cinny', 'base-geometry': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'bbox': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 7366951276676, 'role': 'toplevel', 'mapped': True, 'layer': 'none', 'tiled-edges': 15, 'fullscreen': True, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': 2, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'toplevel'}}
{'event': 'view-set-output', 'output': {'id': 391, 'name': 'DP-2', 'geometry': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'workarea': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'wset-index': 47, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 394, 'pid': -1, 'title': 'layer-shell', 'app-id': 'swww-daemon', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'background', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'background'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 413, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 414, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 415, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 416, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 417, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 418, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 419, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 420, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 421, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 422, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 423, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 424, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 425, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 410, 'output-name': 'NOOP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 17, 'pid': 21612, 'title': 'store.steampowered.com - Bem-vindo(a) ao Steam — Firefox Developer Edition', 'app-id': 'firefox-developer-edition', 'base-geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'parent': -1, 'geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'bbox': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 7377950667441, 'role': 'toplevel', 'mapped': True, 'layer': 'workspace', 'tiled-edges': 15, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': 1, 'min-size': {'width': 450, 'height': 120}, 'max-size': {'width': 16384, 'height': 16384}, 'focusable': True, 'type': 'toplevel'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 407, 'pid': 62795, 'title': 'IPython: home/neo', 'app-id': 'kitty', 'base-geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'parent': -1, 'geometry': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'bbox': {'x': 0, 'y': 42, 'width': 1920, 'height': 1038}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 7405258024450, 'role': 'toplevel', 'mapped': True, 'layer': 'workspace', 'tiled-edges': 15, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': 1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'toplevel'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 11, 'pid': 21108, 'title': 'Cinny', 'app-id': 'cinny', 'base-geometry': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'bbox': {'x': 0, 'y': 0, 'width': 2560, 'height': 1080}, 'output-id': 428, 'output-name': 'DP-2', 'last-focus-timestamp': 7366951276676, 'role': 'toplevel', 'mapped': True, 'layer': 'workspace', 'tiled-edges': 15, 'fullscreen': True, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': 2, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'toplevel'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 430, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 431, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 428, 'output-name': 'DP-2', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 432, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 433, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 434, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 435, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 436, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 437, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 438, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 439, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': {'id': 410, 'name': 'NOOP-1', 'geometry': {'x': 2560, 'y': 0, 'width': 1280, 'height': 720}, 'workarea': {'x': 0, 'y': 0, 'width': 1280, 'height': 720}, 'wset-index': 46, 'workspace': {'x': 0, 'y': 0, 'grid_width': 3, 'grid_height': 3}}, 'view': {'id': 413, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 4294967295, 'output-name': 'null', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 440, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 441, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 442, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 443, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}}
{'event': 'view-set-output', 'output': None, 'view': {'id': 444, 'pid': -1, 'title': 'layer-shell', 'app-id': '', 'base-geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'parent': -1, 'geometry': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'bbox': {'x': 0, 'y': 0, 'width': 0, 'height': 0}, 'output-id': 426, 'output-name': 'DP-1', 'last-focus-timestamp': 0, 'role': 'desktop-environment', 'mapped': False, 'layer': 'none', 'tiled-edges': 0, 'fullscreen': False, 'minimized': False, 'activated': False, 'sticky': False, 'wset-index': -1, 'min-size': {'width': 0, 'height': 0}, 'max-size': {'width': 0, 'height': 0}, 'focusable': True, 'type': 'unknown'}} <- is there an event where it describes the dp-1 is back
There is no event to know if an output is added/on after being set off
Wondering if such event could be useful?
use case situation:
Two outputs:
while switching TTY, both OutputA and OutputB are disabled and OutputB is restored first, the panel will appear on OutputB. A callback to reposition it to OutputA would help, but there's no event to detect when an output returns, just random signals containing 'output-name': 'DP-1'
.
something like {'event': 'set-output-mode', 'mode': 'auto' 'output': '...'}
or some better description for it
Since it will not spam the event system, it wouldn't be a bad addition.
Metadata
Metadata
Assignees
Labels
PRs-welcomeIssues which are unlikely to be fixed unless someone sends a PRIssues which are unlikely to be fixed unless someone sends a PRenhancement