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 |
||
|---|---|---|
| .. | ||
| commands | ||
| config | ||
| desktop | ||
| input | ||
| tree | ||
| commands.c | ||
| config.c | ||
| criteria.c | ||
| decoration.c | ||
| ipc-json.c | ||
| ipc-server.c | ||
| lock.c | ||
| main.c | ||
| meson.build | ||
| realtime.c | ||
| scene_descriptor.c | ||
| server.c | ||
| sway-bar.5.scd | ||
| sway-input.5.scd | ||
| sway-ipc.7.scd | ||
| sway-output.5.scd | ||
| sway.1.scd | ||
| sway.5.scd | ||
| sway_text_node.c | ||
| swaynag.c | ||
| xdg_activation_v1.c | ||
| xdg_decoration.c | ||