3464 Commits (2578669de76c6d4b2038a648d1cfcd3c7e9e320a)

Author SHA1 Message Date
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