sway/sway/commands
Kenny Levinsen 4ea5a9cee1 config: Batch input/output configuration on load
We batch modesets and input configuration performed during config reload
but commit for every command during the intial config load. There is no
need to perform commits during the initial config load as outputs have
not yet been created, but swaybg spawn should still be batched.

At the same time, replace direct calls to apply output configuration
with request_modeset to properly handle the modeset timer.

(cherry picked from commit cdff4f7c74)
2024-09-29 17:27:09 +02:00
..
bar Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
input Add null-safety check for virtual keyboard keymaps 2024-09-20 19:42:53 +02:00
output Add toggle for output adaptive_sync 2024-09-20 19:48:35 +02:00
seat Drop server.h include from input/input-manager.h 2024-05-27 09:28:43 -04:00
allow_tearing.c Add support for tearing-control-v1 2024-09-20 19:42:33 +02:00
assign.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
bar.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
bind.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
border.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
client.c Delete old damage tracking code 2024-01-18 18:36:54 +03:00
create_output.c Implement create_output command for headless backend 2020-04-14 16:06:20 +02:00
default_border.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_floating_border.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_orientation.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
exec.c exec: fix validation during config reload 2020-08-24 09:41:54 +02:00
exec_always.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
exit.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
floating.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
floating_minmax_size.c commands: add printf attribute to cmd_results_new() 2023-04-14 18:34:54 +02:00
floating_modifier.c Add ability to remove the floating modifier 2020-01-20 09:19:04 -07:00
focus.c commands/focus: fix segfault when no container is already focused. 2022-03-06 18:24:16 -07:00
focus_follows_mouse.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
focus_on_window_activation.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
focus_wrapping.c focus: support focus_wrapping workspace 2019-10-17 13:48:52 +03:00
font.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
for_window.c commands: add printf attribute to cmd_results_new() 2023-04-14 18:34:54 +02:00
force_display_urgency_hint.c fix force_display_urgency_hint parsing 2020-08-03 15:39:48 +02:00
force_focus_wrapping.c Add deprecation warnings for new_float, new_window, and force_focus_wrapping. 2019-04-14 20:44:12 -04:00
fullscreen.c cmd_fullscreen: ignore fullscreen request on workspaces 2021-05-10 10:30:44 +02:00
gaps.c commands/gaps: Check config->reading instead 2024-09-29 17:26:48 +02:00
gesture.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
hide_edge_borders.c commands: add printf attribute to cmd_results_new() 2023-04-14 18:34:54 +02:00
include.c Make load_include_configs void. Fix some cases where WD would not be restored. 2019-02-24 00:01:35 -05:00
inhibit_idle.c idle-inhibit-v1: simplify with server global 2023-06-23 12:32:38 +02:00
input.c config: Batch input/output configuration on load 2024-09-29 17:27:09 +02:00
kill.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
layout.c commands: add printf attribute to cmd_results_new() 2023-04-14 18:34:54 +02:00
mark.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
max_render_time.c view: add max_render_time 2019-11-17 20:18:42 +01:00
mode.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
mouse_warping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
move.c Removed destination-is-ancestor check from container_move_to_container to match i3 behaviour 2024-09-29 17:27:01 +02:00
new_float.c Add deprecation warnings for new_float, new_window, and force_focus_wrapping. 2019-04-14 20:44:12 -04:00
new_window.c Add deprecation warnings for new_float, new_window, and force_focus_wrapping. 2019-04-14 20:44:12 -04:00
no_focus.c commands: add printf attribute to cmd_results_new() 2023-04-14 18:34:54 +02:00
nop.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
opacity.c scene_graph: Port opacity and filter modes 2024-01-18 18:36:54 +03:00
output.c config: Batch input/output configuration on load 2024-09-29 17:27:09 +02:00
popup_during_fullscreen.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
primary_selection.c commands: note how xwayland/primary_selection are reset on reload 2024-02-05 11:07:33 +01:00
reload.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
rename.c commands: add printf attribute to cmd_results_new() 2023-04-14 18:34:54 +02:00
resize.c fix crash when resizing tiled scratchpad windows 2023-07-23 11:10:26 -07:00
scratchpad.c Fix for_window criteria and mouse button bindings 2021-02-25 09:48:39 -05:00
seat.c Declare all struct cmd_handler arrays const 2021-02-04 09:49:06 +01:00
set.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
shortcuts_inhibitor.c Drop server.h include from input/input-manager.h 2024-05-27 09:28:43 -04:00
show_marks.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
smart_borders.c smart_borders: separate smartness from edge types 2019-11-04 21:16:27 -05:00
smart_gaps.c Add smart_gaps inverse_outer command 2021-10-29 13:37:58 +02:00
split.c Fix old style function definitions 2023-04-14 18:21:43 +02:00
sticky.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
swap.c build: drop xwayland option 2024-05-21 11:44:39 -04:00
swaybg_command.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
swaynag_command.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
tiling_drag.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
tiling_drag_threshold.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
title_align.c Delete old damage tracking code 2024-01-18 18:36:54 +03:00
title_format.c move title_format to container 2024-09-20 19:44:34 +02:00
titlebar_border_thickness.c Delete old damage tracking code 2024-01-18 18:36:54 +03:00
titlebar_padding.c Delete old damage tracking code 2024-01-18 18:36:54 +03:00
unmark.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
urgent.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
workspace.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
workspace_layout.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
ws_auto_back_and_forth.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
xwayland.c build: drop xwayland option 2024-05-21 11:44:39 -04:00