3578 Commits (32265d913653c81e54e8e17d4511aab9d4dfc73a)

Author SHA1 Message Date
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
Las cedde21c96 Implement pointer-constraints-unstable-v1
6 years ago
athrungithub 5cb3d4769c criteria & scratchpad verify if show in another workspace (#3522)
6 years ago
Brian Ashworth f0fd6119cf Cleanup config reading failure error logs
6 years ago
Peter Grayson f49ad5977e Document cursor moving between adjacent outputs
6 years ago
Ryan Dwyer 8995694a2f Remove bad assertion in container_handle_fullscreen_reparent
6 years ago
emersion 7c72327ab5
Cleanup log_env
6 years ago
mwenzkowski 7c27d73b02 Check xdg_surface's role before using its toplevel
6 years ago
Ryan Dwyer 6b8bf10941 Introduce container_is_scratchpad_hidden
6 years ago
Ryan Dwyer 0a9ff774ad Center surface inside container when it's too small
6 years ago
Drew DeVault 783fadab28
Merge pull request #3423 from RyanDwyer/fullscreen-global
6 years ago
Drew DeVault 897250c65f
Merge pull request #3519 from emersion/pointer-frame
6 years ago
Drew DeVault cd22d555e8 Remove unnecessary underscores in man pages
6 years ago
emersion a452f8f822
Update for swaywm/wlroots#1503
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
6 years ago
Ian Fan 5d6f906bd7 Use sway_log_errno instead of strerror
6 years ago
emersion 75406bb93b Update for swaywm/wlroots#1402
6 years ago
Jan Beich ba96983bf0 Make json-c include respect pkg-config --cflags
6 years ago
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
Drew DeVault 71a37ad186
Merge pull request #3494 from ianyfan/commands
6 years ago
Brian Ashworth 8ce57f0a77 root_scratchpad_remove_container: do not show
6 years ago
Ian Fan de9a357de8 util.c: remove numlen function
6 years ago
Ian Fan ec0013b9f5 commands: allow setting floating on scratchpad containers
6 years ago
Ian Fan 34dea3d9d2 commands: allow tiled containers to be stickied
6 years ago
Ryan Dwyer 42f8a038c9 Remove assumption that noop output will be called NOOP-1
6 years ago
Ryan Dwyer 7f8ea60e71 Don't allow noop output to be configured
6 years ago
Ryan Dwyer e815e48cee Hide noop output in IPC
6 years ago
Ryan Dwyer 75e7ce82f5 Prevent noop output from being enabled
6 years ago
Ryan Dwyer 2301349ad5 Use noop output when there's no outputs connected
6 years ago
Brian Ashworth ab0248a545 seat_create: set initial focus for added seats
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
Drew DeVault cddb057343
Merge pull request #3480 from RedSoxFan/input-modes-improved-toggle
6 years ago
emersion e134da3023
Fix one remaining wlr_log call
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
Brian Ashworth 5c834d36e1 Log libinput_config_status errors
6 years ago
Brian Ashworth 91c1f44956 input_cmd_events: allow toggle modes to be listed
6 years ago
Drew DeVault a3d3504072
Merge pull request #3468 from emersion/fix-output-gain-crtc
6 years ago
Brian Ashworth afac6ced6e apply_output_config: remove output_i
6 years ago
emersion 0bf3252d8b
Fix re-enabling outputs gaining a CRTC
6 years ago
emersion 2ae2d09c4c Prevent crashes in handle_transform and handle_scale too
6 years ago
emersion 3b7a7462a2 Fix crash in cursor_rebase with multiple screens
6 years ago
Drew DeVault 639b66b676
Merge pull request #3452 from emersion/meson-features
6 years ago
emersion 6ff54d0640
Fix segfault in output_enable
6 years ago
Drew DeVault dd4a6586b2
Merge pull request #3457 from emersion/swaybg-no-escape
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion dc1eac0cf1 output: remove output_add_listeners
6 years ago
emersion d803861504
Don't escape swaybg arguments anymore
6 years ago
emersion bb2f007ad3
meson: remove rpath options
6 years ago
emersion 08a5b304e4
Use Meson feature options
6 years ago
emersion fe3f4882ed
Don't use sh when spawning swaybg
6 years ago
emersion 000b313985
swaybg: use output names instead of output indexes
6 years ago
Connor E de6f5b3453 Use static arrays where possible.
6 years ago
Connor E aa9d7d8ca1 Remove usage of VLAs.
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Brian Ashworth 247817f68c layer_shell: do not SIGABRT sway on zero outputs
6 years ago
Brian Ashworth 81e595e6e8 cmd_resize: allow resizing hidden scratchpad by px
6 years ago
Brian Ashworth 638b04b3e0 seatop_begin_down: raise floating
6 years ago
Brian Ashworth 686b853047 Do not send ipc_event_shutdown from ipc client
6 years ago
Rouven Czerwinski f7309778a7 cursor: send clear_focus on hide and enter event on unhide
6 years ago
Connor E 023c92423e Remove wlr_xdg_surface_send_close.
6 years ago
Brian Ashworth a68bc5f449 Do not damage view child when container is NULL
6 years ago
Brian Ashworth 3087942c35 Handle hidden scratchpad containers in commands
6 years ago
Ryan Dwyer 289130430f Fix invalid pointers when using resize grow width on first/last siblings
6 years ago
Ryan Dwyer 2024f1da72 Resize only current and immediate siblings rather than all siblings
6 years ago
Brian Ashworth 2573606b60 Disarm key repeat on reload
6 years ago
M Stoeckl 2a684cad5f Remove now-unused "input" argument of cmd_results_new
6 years ago
M Stoeckl 6d392150a7 Remove 'input' field of IPC command return json
6 years ago
Ryan Dwyer b322432eff Use uint32_t where resize axis might contain a bitfield
6 years ago
Ryan Dwyer 22ac1c121a Replace resize_axis with wlr_edges
6 years ago
Drew DeVault 4879d40695
Merge pull request #3144 from emersion/cmd-xwayland
6 years ago
Drew DeVault 81bb675274
Merge pull request #3344 from RedSoxFan/bar-mouse-bindings-improved
6 years ago
Drew DeVault 9f9ef76175
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
6 years ago
Drew DeVault db1631b67d
Merge pull request #3342 from RedSoxFan/scroll-buttons-improved
6 years ago
Drew DeVault 23ab56bbf7
Merge pull request #3402 from RyanDwyer/refactor-seatops
6 years ago
Drew DeVault 08569aab36
Merge pull request #3388 from RedSoxFan/reset-inputs-on-reload
6 years ago
Drew DeVault fc93cd20dc
Merge pull request #3397 from RedSoxFan/fix-swaybar-height
6 years ago
Drew DeVault 4eb0767414
Merge pull request #3398 from RedSoxFan/toggle-input-events
6 years ago
Drew DeVault 9ce4d53e78
Merge pull request #3408 from RedSoxFan/bar-padding
6 years ago
Brian Ashworth b43345a1a3 config: fix line number with continued lines
6 years ago
Brian Ashworth 39975ccfb5 config: do not reset pos when braces found
6 years ago
Brian Ashworth ca0a75d540 swaybar: add status_edge_padding command
6 years ago
Brian Ashworth c0f92cb2fb swaybar: add status_padding command
6 years ago
Brian Ashworth 4e6bd53abf input_cmd_scroll_button: utilize mouse btn helpers
6 years ago
Brian Ashworth 3d6440ec26 bar_cmd_bind: utilize mouse button helpers
6 years ago
Brian Ashworth aa1c838f97 seat_cmd_cursor: utilize mouse button helpers
6 years ago
emersion 212baf2f75
Merge pull request #3400 from ianyfan/config-brace
6 years ago
Ryan Dwyer ed5aafd90b Refactor seat operations to use an interface
6 years ago
Ian Fan 00f8d0209f config.c: fix brace detection at end of file
6 years ago
Ian Fan 15ac580b28
Merge pull request #3341 from RedSoxFan/mouse-bindings-improved
6 years ago
emersion 9abac85888
Merge pull request #3399 from RedSoxFan/fix-output-destruction-segfaults
6 years ago
Brian Ashworth 8fd3f32c79 Fix segfaults on output destruction
6 years ago
Brian Ashworth 4dba42555f get_inputs: add libinput send events mode
6 years ago
Brian Ashworth 55e1d599a2 input_cmd_events: implement toggle
6 years ago
Brian Ashworth 124085eba9 swaybar: obey height if given
6 years ago
Brian Ashworth a8b3ae9284 cursor: allow scrolling tabs/stack on title border
6 years ago
Brian Ashworth eefa6b1ad3 bind{code,sym}: utilize mouse button helpers
6 years ago
Brian Ashworth 6f6a9af60e Add helpers for improved mouse button parsing
6 years ago
Brian Ashworth 4696f49ecc reload: reset input configs
6 years ago
Ryan Dwyer 14cab78612 Reset container dimensions when moving into workspace from direction
6 years ago
Jan Beich 0a4c4f3e52 Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
emersion d06782c5e7
Merge pull request #3386 from RedSoxFan/seat-reload-wait
6 years ago
emersion 8daea2bfec
Merge pull request #3390 from RedSoxFan/execute-seat
6 years ago
emersion 51bc466e2b
Merge pull request #3389 from RedSoxFan/swap-context-seat
6 years ago
Brian Ashworth fdc262d402 cmd_bind: pass the seat to execute_command
6 years ago
Brian Ashworth c4122e3975 cmd_swap: use handler context seat
6 years ago
Brian Ashworth 1feb2ce064 keyboard: update repeat timer before execution
6 years ago
Brian Ashworth f33969358c reload: apply seat cfgs after reading entire cfg
6 years ago
Drew DeVault da8f24de1d
Merge pull request #3385 from robertgzr/reset_output_mapping
6 years ago
Robert Günzler 145ac2c571 cursor: allow mapping to all outputs
6 years ago
emersion 140bc2dd5b
Merge pull request #3275 from ianyfan/remove-readline
6 years ago
emersion 353d9ed74f
Merge pull request #3337 from RedSoxFan/fix-seat-cmd-cursor
6 years ago
emersion 327236a7ab Add data-control-v1
6 years ago
Rouven Czerwinski cc858e605a seat: unhide the cursor if it is warped to focus
6 years ago
Rouven Czerwinski 0b18560952 view: use seat_consider_warp_to_focus in view_unmap
6 years ago
Rouven Czerwinski fde900861a cursor: move unhide and timeout retrieval into separate functions
6 years ago
Jan Beich 4a11d0e470 Use %z for printing size_t
6 years ago
Ryan Dwyer 0cc56ebe94 Fix urgency documentation
6 years ago
PlusMinus0 d87cded568 Fixed formulations.
6 years ago
PlusMinus0 1b341834a6 Update sway-output.5.scd
6 years ago
David96 ee50134634 Apply tiling_drag_threshold to all containers
6 years ago
Brian Ashworth 5bf4daf263 Implement tiling_drag_threshold
6 years ago
Mack Straight a96e86744f Fix fullscreen view rendering crash
6 years ago
Ian Fan bd35879e1c fixup! config.c: re-enable backslash continuation in config file
6 years ago
Ian Fan a9c5158a77 config.c: re-enable backslash continuation in config file
6 years ago
Ian Fan a82b8a3c14 Remove readline.c
6 years ago
Ian Fan 967566e37f stringop.c: rewrite strip_whitespace
6 years ago
Ian Fan f33b5c5223 swaybar: do not create tray if hidden
6 years ago
Ian Fan 6b03c68775 swaybar: implement tray config
6 years ago
Brian Ashworth 4a3ada303b Apply implicit fallback seat config
6 years ago
John Chen 54d0f3a40e Set font options when computing text width.
6 years ago
emersion 72f8d0ff59
Undocument SWAY_CURSOR_THEME and SWAY_CURSOR_SIZE
6 years ago
Brian Ashworth 4d88c95790 hide_cursor: change to a seat subcommand
6 years ago
Brian Ashworth 09bb71f650 Verify seat fallback settings on reload
6 years ago
Brian Ashworth 6ec2983d96 seat_cmd_cursor: work on seat name provided
6 years ago
Brian Ashworth 3e8f548d1d Revamp seat configs
6 years ago
Brian Ashworth 4503ad2d19 sway-output(5): doc scaling consideration for pos
6 years ago
Brian Ashworth ae8937b11a Add failure reply on IPC_SYNC
6 years ago
Brian Ashworth 0dbf2673a1 Remove button from state on release during op
6 years ago
Drew DeVault c54258f323
Merge pull request #3346 from ermo/sway-bar_focused_statusline_colour-render-fix
6 years ago
Rune Morling 612702591c swaybar: fix focused_statusline color parsing.
6 years ago
Ryan Dwyer dd8d2dedf7 Fix crash when scratchpad contains split containers
6 years ago
NokiDev 9bf1b7a029 added fullscreen_mode to get_tree output
6 years ago
Brian Ashworth 3248c823ed Split image_surface handling into own function
6 years ago
Brian Ashworth 5fca74a1f1 Implement hide_cursor <timeout> command
6 years ago
Brian Ashworth a223030b70 Change mouse buttons to x11 map and libevdev names
6 years ago
Brian Ashworth 00d97cb195 sway(5): document tiling_drag
6 years ago
Brian Ashworth cf7c77e56a Fix wlr_box_intersection args for wlroots 1441
6 years ago
Drew DeVault 788b715776 Fixes per wlroots#1441
6 years ago
Aidan Harris 0d3cf36c85 IPC_SUBSCRIBE ensure request object is an array
6 years ago
Brian Ashworth 88d96bc41f Combine output_by_name and output_by_identifier
6 years ago
Brian Ashworth 477bca5e28 Terminate swaybg in output_disable
6 years ago
Ryan Dwyer 3a4f4f5d66 Return success when renaming a workspace to itself
6 years ago
Brian Ashworth 0ea54833d4 Focus node before tiling drag if on titlebar
6 years ago
Brian Ashworth 4e2cfe0526 cmd_split: add null checks in do_split
6 years ago
Brian Ashworth 5f25541022 Allow output ids and wildcard for workspace output
6 years ago
Brian Ashworth 8d7ebc258a Allow tiling views to be dragged by the titlebar
6 years ago
Rostislav Pehlivanov 1442d4e688 Update for swaywm/wlroots#1377
6 years ago
Brian Ashworth c2499772b9 Fix focusing on non-visible workspace
6 years ago
Brian Ashworth 1897edabba Rework default output configs
6 years ago
mwenzkowski 01420193ef Fix criteria execution in view_map
6 years ago
Brian Ashworth bc981b2bbb Keep focus when destroying containers on nonvis ws
6 years ago
Brian Ashworth 6acbe84fdd Call wlr_output_enable for disabled new outputs
6 years ago
Ian Fan 98c1e19466 list.c: rename free_flat_list to list_free_items_and_destroy
6 years ago
Ian Fan c8776fac42 Cleanup list code
6 years ago
Ian Fan 19e831ed3d list.c: Remove list_foreach
6 years ago
Brian Ashworth 7b23a1a0d8 cmd_split: flatten when possible
6 years ago
mwenzkowski cf6edaf26a Fix command list execution
6 years ago
Ian Fan bca21ee0cf config: do not set $XDG_CONFIG_HOME if unset or empty
6 years ago
Ian Fan de66ed4beb config: set $XDG_CONFIG_HOME if empty
6 years ago
Brian Ashworth 9b41db32ec Fix identifier output configs on reload
6 years ago
Brian Ashworth 2942bbbc60 cmd_focus: show scratchpad if hidden
6 years ago
Alex Maese 1a1a2d96cb Add option to bindsym/bindcode to suppress warning on override
6 years ago
bschacht bf11a77884 fix typo
6 years ago
Drew DeVault 974a3fbc59
Merge pull request #3227 from emersion/swap-buffers-damage-coords
6 years ago
emersion ed7bd683a7
Update for swaywm/wlroots#1403
6 years ago
mwenzkowski 68668c22e5 sway.5: Improve documentation
6 years ago
mwenzkowski b5c92e5d3b Fix the error result of the fullscreen command
6 years ago
John Axel Eriksson aef52154ec
Fix json object ipc return
6 years ago
emersion 9d18d81d48
Merge pull request #3216 from RedSoxFan/fix-empty-titlebars
6 years ago
Brian Ashworth 14cb39c772 Fix titlebar when no title or marks
6 years ago
Brian Ashworth 71ae08530a Fix default_orientation auto
6 years ago
emersion 9924d72ab2
Merge pull request #3213 from RedSoxFan/fix-3203
6 years ago
Brian Ashworth f52277f66e Fix scratchpad segfault - NULL focused workspace
6 years ago
emersion 67c7cc53ae
Merge pull request #3206 from RedSoxFan/ipc-subscribe
6 years ago
Brian Ashworth 1bd8463481 Implement bar gaps
6 years ago
Brian Ashworth bf9a52bab0 Implement support for swaymsg -t SUBSCRIBE [-m]
6 years ago
Brian Ashworth 5341e034df
Merge pull request #3212 from martinetd/move_floating
6 years ago
Brian Ashworth e5f90f25d7 Introduce a way to show config warnings in swaynag
6 years ago
Dominique Martinet 2543834172 move to workspace: fix moving floating container to non-empty workspace
6 years ago
emersion b98563d2d7
Fix segfault when destroying unmapped child view
6 years ago
Ryan Dwyer f737854e30
Merge pull request #3199 from emersion/handle-subsurface-destroy
6 years ago
emersion 048b96a56d
Merge pull request #3204 from RedSoxFan/cmd-res-list
6 years ago
Brian Ashworth 315bca176c Do not strip quotes for cmd_mode
6 years ago
Brian Ashworth 5c6f3d7266 Change execute_command to return a list of results
6 years ago
emersion 1d30b7c0f6
Damage view child when destroyed
6 years ago
emersion fc79b7c2d2
Handle destroyed subsurfaces
6 years ago
Drew DeVault dbf8e1cead
Merge pull request #3175 from emersion/rename-gtk-primary-selection
6 years ago
Brian Ashworth a22e7b13ad
Merge pull request #3168 from mihaicmn/scratchpad-events
6 years ago
Ryan Dwyer af7a97623b
Merge pull request #3185 from emersion/remove-xopen-source
6 years ago
Mihai Coman 39db9b855d IPC: Use consistent function names across ipc-json
6 years ago
Mihai Coman 65c32e41d4 IPC: Add scratchpad containers to get_tree reply
6 years ago