mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
The GET_OUTPUTS IPC reply was including many tree/node properties (id, type, orientation, percent, urgent, marks, layout, border, current_border_width, deco_rect, window_rect, geometry, window, nodes, floating_nodes, focus, fullscreen_mode, sticky, floating, scratchpad_state) that are only meaningful for containers in GET_TREE, not for outputs. Create a dedicated function for building the GET_OUTPUTS reply that only includes the documented output-specific fields (name, make, model, serial, active, dpms, power, primary, scale, transform, current_workspace, modes, current_mode, rect, hdr) plus sway-specific output configuration fields (scale_filter, adaptive_sync_status, max_render_time, allow_tearing, non_desktop, features, focused, subpixel_hinting). This improves i3 IPC compatibility and reduces reply size. Fixes: https://github.com/swaywm/sway/issues/2685 |
||
|---|---|---|
| .. | ||
| sway | ||
| swaybar | ||
| swaynag | ||
| cairo_util.h | ||
| gesture.h | ||
| ipc-client.h | ||
| ipc.h | ||
| list.h | ||
| log.h | ||
| loop.h | ||
| meson.build | ||
| pango.h | ||
| pool-buffer.h | ||
| stringop.h | ||
| util.h | ||