sway-patched-tray-menu/sway/commands
Ankit Pandey 90c2d631e2 root: Try to preserve relative positions of floating containers
This makes the behavior of floating containers more consistent with i3.
The coordinates of the container are scaled when the size of the
workspace it is on changes or when the container is moved
between workspaces on different outputs.

For scratchpad containers, add a new state that preserves the dimensions
of the last output the window appeared on. This is necessary because
after a container is hidden in the scratchpad, we expect it to be in the
same relative position on the output when it reappears. We can't just
use the container's attached workspace because that workspace's
dimensions might have been changed or the workspace as a whole could
have been destroyed.
2023-03-14 23:26:42 -07:00
..
bar ipc: make bar <bar_id> mode|hidden_state behave as documented 2021-11-25 11:32:46 +01:00
input Add libinput RotationAngle 2022-12-09 11:28:53 +01:00
output sway/commands/output: Add command for unplugging non-physical outputs 2022-10-07 19:17:39 +02:00
seat sway/input: follow up wlroots input device events renaming 2022-03-17 21:52:59 +03:00
assign.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
bar.c Prevent use-after-free on first bar subcommand error 2021-04-18 20:53:36 -07:00
bind.c Strip quotes in bindsym --input-device=... 2022-06-25 11:27:49 +02:00
border.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
client.c Add focused_tab_title 2021-12-10 16:09:29 +01: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 launcher: make launcher context seat aware 2023-02-05 00:53:47 -07: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 Replace wlr_log with sway_log 2019-01-21 12:59:42 +01: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 Reject font values that are invalid for pango 2022-07-01 13:05:58 +02:00
for_window.c Avoid adding duplicate criteria for no_focus and command 2019-07-27 03:53:05 +03: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 sway: add bindgesture command 2022-05-30 12:20:43 +02:00
hide_edge_borders.c smart_borders: separate smartness from edge types 2019-11-04 21:16:27 -05: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 Implement inhibit_idle command 2019-03-24 19:26:12 -06:00
input.c Fix input command order (rotation_angle) 2022-12-09 22:36:33 +01:00
kill.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
layout.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
mark.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
max_render_time.c view: add max_render_time 2019-11-17 20:18:42 +01:00
mode.c sway: add bindgesture command 2022-05-30 12:20:43 +02:00
mouse_warping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
move.c root: Try to preserve relative positions of floating containers 2023-03-14 23:26:42 -07: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 Avoid adding duplicate criteria for no_focus and command 2019-07-27 03:53:05 +03:00
nop.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
opacity.c cmd_opacity: add relative opacity changes 2019-08-05 22:10:36 -04:00
output.c sway/commands/output: Add command for unplugging non-physical outputs 2022-10-07 19:17:39 +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 Add primary_selection config option 2022-12-05 14:09:29 +01:00
reload.c Avoid unecessary font metric calculations 2021-09-20 09:25:47 +02:00
rename.c launcher: track workspaces by node 2022-11-26 09:48:58 +01:00
resize.c container: Move pending state to state struct 2021-02-16 22:05:00 -05: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 Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
shortcuts_inhibitor.c commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
show_marks.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05: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 commands: update split none command for a047b5ee4 2021-09-04 00:24:47 +02:00
sticky.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
swap.c container: rehome the container_swap function into container.c 2023-02-19 20:07:39 -05: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 Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
title_format.c Avoid unecessary font metric calculations 2021-09-20 09:25:47 +02:00
titlebar_border_thickness.c Handle NULL from output_get_active_workspace 2019-02-21 21:18:03 +01:00
titlebar_padding.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
unmark.c Fix for_window criteria and mouse button bindings 2021-02-25 09:48:39 -05:00
urgent.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
workspace.c Revert "Add workspace {prev,next}_on_output --create" 2021-06-22 19:00:31 +02: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 Fix typo for the force/immediate option in xwayland_mode enum 2019-09-02 17:06:38 +03:00