1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-06-11 03:06:07 +02:00
sway/sway/commands
Ronan Pigott 5e18ed3cf0 commands/move: do not force focus on the moved container
My code archaeology isn't good enough to determine what this is here
for, but it isn't correct. We should be able to move containers in a
direction without focusing them. AFAICT i3 doesn't do this, so we
shouldn't either.

This fixes ipc commands like move <dir> with criteria that apply to
containers which are not the current focus.
2024-03-01 10:13:41 +01:00
..
bar Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
input Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
output Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
seat Convert to new pointer enums 2024-02-28 14:28:11 -05: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 Add `gaps <type> <scope> toggle <px>` command 2021-07-22 10:12:33 +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 input/libinput: add scroll_button_lock method 2023-06-16 15:30:04 +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 commands/move: do not force focus on the moved container 2024-03-01 10:13:41 +01: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 sway/output: Improve logging of swaybg execvp failure and more checks 2024-01-29 14:12:39 +01: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 commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -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 Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03: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 Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03: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 commands: note how xwayland/primary_selection are reset on reload 2024-02-05 11:07:33 +01:00