3578 Commits (32265d913653c81e54e8e17d4511aab9d4dfc73a)

Author SHA1 Message Date
mliszcz 200833caae Allow for workspace renaming during exec handling
6 years ago
Brian Ashworth cd8b4ace92 fix opening a floating view on the NOOP output
6 years ago
Brian Ashworth 7d2076cbff criteria: fix __focused__ when no focus or unset
6 years ago
Brian Ashworth 8cd7f0171a cmd_mode: allow cmd_set to be a subcommand
6 years ago
Ryan Dwyer cdcc2a5bb5 Support focus <direction> for floating containers
6 years ago
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
6 years ago
Ryan Dwyer bfa20e65d8 Clean up focus follows mouse logic
6 years ago
Ryan Dwyer e9a476244d Remove debug tree
6 years ago
Ryan Dwyer 38bd60c4b3 Document the title_format command
6 years ago
Brian Ashworth 0327c999d7 config/output: handle wildcard in get_output_config
6 years ago
Ryan Dwyer 7b9ae42331 Introduce default seatop
6 years ago
Ryan Dwyer fb3475e291 Replace seatup allows_events with button callback
6 years ago
Brian Ashworth 73605dac2a config/output: revamp identifier/name layering
6 years ago
Brian Ashworth 3106ef23a7 Fix output config retrieval for new outputs
6 years ago
minus 264e213c08 Fix quoting of commands passed to for_window
6 years ago
Brian Ashworth e687e120e0 output_cmd_background: validate colors
6 years ago
Brian Ashworth d8f74e4706 Set prev_workspace_name based off of focus
6 years ago
Brian Ashworth acdb4ed7a3 xwayland: handle floating configure request size
6 years ago
Brian Ashworth 52a61671e9 criteria: change workspace to support regex
6 years ago
Brian Ashworth 3330faded5 Handle seat_get_focused_workspace returning NULL
6 years ago
Brian Ashworth 1bab5a9553 get_deco_rect: fix floaters on tabbed/stacked ws
6 years ago
Ian Fan 055d662baa commands: allow tiled sticky containers to be moved
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
6 years ago
Ryan Dwyer 783b3d6b37 Fix click behaviour
6 years ago
Ryan Dwyer d16845d5f0 Don't send button events to surfaces when dragging or resizing
6 years ago
Brian Ashworth 017a7c4da1 sway_view_child: add listener for view unmap
6 years ago
Brian Ashworth 20c4d242f6 detect_proprietary: use strncmp
6 years ago
Brian Ashworth a729bda17f fullscreen: init floating on disable without size
6 years ago
Ben Challenor 30931ad9e7
Make raw keysyms take precedence over translated
6 years ago
emersion 191305468c Fix crash in cmd_workspace when layer surface has focus
6 years ago
Drew DeVault 83b68b2154 Update language in sway.desktop & sway(1)
6 years ago
Brian Ashworth 9a75f0010f arrange: use int not size_t for title offsets
6 years ago
Brian Ashworth c02d2a0128 damage: remove output_damage_view
6 years ago
Brian Ashworth 7580718d12 output_damage_whole_container: damage subsurfaces
6 years ago
Jeff Peeler a73e8f1328 fix "directive argument is null" errors
6 years ago
minus 5fab8a2ad4 Fix crash when moving window to scratchpad
6 years ago
Brian Ashworth 7f700e08ac ipc: describe libinput device configuration
6 years ago
Brian Ashworth 0df76ed96a ipc: fix fullscreen deco_rect
6 years ago
Brian Ashworth 8ada2daba5 ipc: fix rect for stacked children
6 years ago
emersion 8b6bd106aa Fix container_parent_layout for scratchpad windows
6 years ago
Brian Ashworth 19df2e5906 ipc: change {,deco_}rect to match i3
6 years ago
emersion a6711740bc Set DISPLAY after initializing Xwayland
6 years ago
Ryan Dwyer bdac0df4f8 Allow concurrent clicks
6 years ago
Brian Ashworth a053823f39 sway.1.scd: document environment vars set by sway
6 years ago
Brian Ashworth 23f075e71d render_floating: skip fullscreen floaters
6 years ago
Noam Preil 1c329f2fe6 Fixes crash in spawn_swaybg (closes #3733)
6 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
6 years ago
hugbubby 37f0e1f1a2 Minor fix of code duplication.
6 years ago
emersion 88b283c557 seat: don't send button release when not pressed
6 years ago
Brian Ashworth 56217bfbc0 sway-ipc.7: clarify window_rect omits decorations
6 years ago
emersion 4431ae68fc Add output dpms to manpage
6 years ago
Drew DeVault 9f58b27d86
Merge pull request #3766 from RedSoxFan/sway-ipc-scdoc
6 years ago
Brian Ashworth f876009c7f Add sway-ipc.7.scd to document IPC protocol
6 years ago
Rouven Czerwinski d016848bce config: remove double assignement to result in get_output_config
6 years ago
Rouven Czerwinski 4e028dba47 cursor: intitialize sx and sy to zero
6 years ago
Rouven Czerwinski 35d610a43c cursor: remove unused node assignement
6 years ago
Brian Ashworth efe370ba12 execute_command: do not strip qoutes for cmd_mode
6 years ago
Carlo Abelli b00b0fb9d3 fix smart_borders description in manual
6 years ago
Connor E 9032be4f08 Allow 0 degree transform (normal transform).
6 years ago
Milkey Mouse 2f7247e08a swaybar: add overlay mode (fix #1620)
6 years ago
db 2510e3df38 add --i3 flag to hide_edge_borders
6 years ago
Connor E d4b1e71b91 Make load_include_configs void. Fix some cases where WD would not be restored.
6 years ago
minus 713883f04c Fix crash exiting fullscreened floating container
6 years ago
Caleb Bassi f84ac3f114 ipc: add missing fields to disabled outputs
6 years ago
emersion 656541bcc4
Update for swaywm/wlroots#1517
6 years ago
Brian Ashworth 9350a52c0e handle_seat_node_destroy: update seat->workspace
6 years ago
Brian Ashworth bcec866c6b handle_layer_shell_surface: do not use noop output
6 years ago
Rouven Czerwinski 3ead287064 view: set xdg_decoration->view to NULL, check decoration destroy
6 years ago
Brian Ashworth f078a1ccb8 input/cursor: allow whole-window bindings on ws
6 years ago
Ian Fan 923cd865f5
Merge pull request #3740 from Emantor/fix/ipc_allocs
6 years ago
Brian Ashworth 7252ca09a7 move scratchpad: hide visible scratchpad container
6 years ago
Rouven Czerwinski 16ddd00102 commands/move: reintroduce wrongly removed NULL check
6 years ago
Brian Ashworth d3d7956576 Handle NULL from output_get_active_workspace
6 years ago
Brian Ashworth 03dfdb1edb output_get_active_workspace: check workspaces length
6 years ago
Rouven Czerwinski aa4ccd845c run_as_ipc_client: free response after running the IPC command
6 years ago
Rouven Czerwinski a968a650e2 ipc-client: free payload after sending it over the socket
6 years ago
Brian Ashworth 546b976baa output_evacuate: call workspace_consider_destroy
6 years ago
emersion 444e00662c
Add wp-primary-selection-unstable-v1
6 years ago
Eric Drechsel 9bbf10bdfc layout cmd: always operate on parent container, like i3Fixes #3724
6 years ago
emersion b799a30962 Don't use SOCK_CLOEXEC
6 years ago
Drew DeVault c939453bea
Merge pull request #3714 from emersion/fix-drag-icon-map-listener
6 years ago
Yorick van Pelt fc397f52bb
Add 'visible' key to view json response
6 years ago
emersion 59f2056022
Fix drag icon map listener not removed
6 years ago
Drew DeVault a1e171080d
Merge pull request #3712 from RedSoxFan/fix-typo-seat-cursor
6 years ago
Brian Ashworth 041594d2ab Use container under cursor for mouse bindings
6 years ago
Brian Ashworth 73c8e63438 seat_cmd_cursor: fix typo in expected syntax
6 years ago
Brian Ashworth faf15ee733 workspace_next_name: fallback to next available number
6 years ago
Drew DeVault 487c83f0de Add workspace {prev,next}_on_output --create
6 years ago
Drew DeVault cd10e755c1 Remove refs to unimplemented debuglog command
6 years ago
emersion 7baaa3a0f8 Disconnect swaybg instead of killing it
6 years ago
Brian Ashworth f7f5b172a0 sway-input.5: document wildcard and identifier troubleshooting
6 years ago
emersion 8ab64d3fcc Remove unused header include/sway/tree/output.h
6 years ago
Brian Ashworth 272ca06171 Fix reload freeze when not modsetting current mode
6 years ago
Vincent Vanlaer cfacf85755 Check layout before getting pointer surface coords
6 years ago
Brian Ashworth 96de2b539c apply_output_config: dpms on before modeset
6 years ago
Brian Ashworth e8c472aee9 seatop_move_tiling: do not move to descendant
6 years ago
Brian Ashworth ab42874f71 seat: allow tree focus changes while layer focused
6 years ago
Brian Ashworth 9b8249c350 seatop_move_tiling: use tab/stack parent not self
6 years ago
Brian Ashworth d168d65f2c subsurface_get_root_coords: break on NULL
6 years ago
Brian Ashworth 1bccde68a4 cursor: relative-pointer-v1 time is usec
6 years ago
athrungithub 98b40d31c1 Don't remove from scratchpad on move to workspace
6 years ago
emersion 97c89b24b8
Rebase cursor when a layer surface maps
6 years ago
Brian Ashworth fb4f29289f workspace_get_initial_output: handle focused layer
6 years ago
Brian Ashworth 2540e8ea79 Abort early when XDG_RUNTIME_DIR is not set
6 years ago
Brian Ashworth d2c896ed84 fix misc memory leaks
6 years ago
Brian Ashworth a64a3ee6bb ipc: handle unnamed xkb_active_layout_name
6 years ago
Brian Ashworth 418c19fe52 view: remove pointer constraints on unmap
6 years ago
Brian Ashworth 3952d4f4f3 input/keyboard: respect solo repeat_{rate,delay}
6 years ago
Rouven Czerwinski 605e515a93 fix double free for mode toggle if bar was invisible
6 years ago
Brian Ashworth 995b6edab6 container_at_stacked: skip titles when zero pixels
6 years ago
Brian Ashworth f5190d1f79 bar_cmd_modifier: add support for none
6 years ago
Drew DeVault 82d7a70b03 Revert "Return false if config could not be loaded."
6 years ago
Drew DeVault 385cf330ae Revert "Restore CWD if returning early."
6 years ago
Brian Ashworth ec5da0ca5b seat_configure_tablet_tool: configure xcursor
6 years ago
Brian Ashworth 5a32a74b2d load_main_config: use given path, store realpath
6 years ago
Brian Ashworth ee56428b64 Clarify error for options and positional args
6 years ago
Connor E 921e42c6c0 Restore CWD if returning early.
6 years ago
Connor E 855368b67e Return false if config could not be loaded.
6 years ago
Daniel Eklöf d3b3eb019a ipc_has_event_listeners: fix inverted check of subscribed_events
6 years ago
Brian Ashworth c65057ef8b load_main_config: add realpath to config_chain
6 years ago
emersion 9b1905acf9 Fix close_popups for xdg-shell
6 years ago
Brian Ashworth 89afb761ba output_cmd_background: fix no file + valid mode
6 years ago
Connor E e1b8190d2c Initialize server so input manager is available.
6 years ago
Connor E 886789c197 If validating the config, do it as early as possible.
6 years ago
Drew DeVault fb73f84d0e
Merge pull request #3579 from RedSoxFan/fix-workspace-gaps-double-free
6 years ago
Brian Ashworth f2abe0570f cmd_workspace_gaps: fix double free on bad amount
6 years ago
Brian Ashworth 288e35f99e IPC_COMMAND: split on newline
6 years ago
emersion 478b128c26 Fix quote stripping
6 years ago
Brian Ashworth 1e65cc1ea6 execute_command: dont strip quotes for exec_always
6 years ago
Brian Ashworth 920c64f569 load_include_configs: fix wordexp fail condition
6 years ago
Drew DeVault a1a99421a1
Merge pull request #3562 from vilhalmer/focus_follows_mouse-workspace-last-inactive
6 years ago
Brian Ashworth 7299b9a6ca seat_cmd_cursor: do not create non-existing seat
6 years ago
vilhalmer f8a9117149
Fall back to wildcard in sway_cursor_constrain
6 years ago
vilhalmer 907595b10d
Skip constraining cursor if no seat config
6 years ago
vilhalmer da59ffa8a0
Skip wildcard seat config in destroy_removed_seats
6 years ago
vilhalmer a3332c70bf
Focus ws inactive node with focus_follows_mouse
6 years ago
Drew DeVault bbfe13a248
Merge pull request #3551 from c-edw/RevertDoubleFrees
6 years ago
Brian Ashworth f425e81fbe cmd_seat: allow - to be used as alias for current
6 years ago
Brian Ashworth 1bd7400c4d seat_cmd_attach: defer while reading
6 years ago
Connor E 2f2a887377 Revert "More frees."
6 years ago
Connor E 49b667272b Revert "Add some missing frees."
6 years ago
Drew DeVault de76c4e071
Merge pull request #3543 from emersion/relative-pointer-usec
6 years ago
Brian Ashworth ebe5399ed6 pointer_constraint: change to a seat subcommand
6 years ago
Drew DeVault 82461c4165 Updates for scdoc 1.8.1
6 years ago
Ashkan Kiani aee9942145 Add details on `--whole-window` for bindsym
6 years ago
emersion dde9fc19de
relative-pointer-v1: time is in usec, not msec
6 years ago
Drew DeVault 0c975af1fb Send pointer frames on tool events
6 years ago
Drew DeVault 4b87edeba4 Missed a spot in pointer constraints
6 years ago
Drew DeVault a6d41254c9 Add pointer_constraint command
6 years ago
absrd ee4b8a3938 Add relative pointer
6 years ago