1406 Commits (9969de9e00a1ca89ded85d418a72c4ebbce91331)

Author SHA1 Message Date
Brian Ashworth 18ce0eec60 Spawn swaybar as a wayland client
6 years ago
Konstantin Pospelov c42497aca0 bindsym: change xkb_rule_names initialization
6 years ago
Konstantin Pospelov ddf63ffabe bindsym: consider xkb_rule_names for --to-code
6 years ago
Konstantin Pospelov f1609abe4c config: simplify keysym translation fields
6 years ago
Konstantin Pospelov a09c144b8b Implement bindsym --to-code
6 years ago
Drew DeVault 236ca63419 swaybg: split into standalone project
6 years ago
Brian Ashworth dc7a3930a7 swaybar: add multiseat support
6 years ago
Brian Ashworth 583ceff6f6 swaybar: hide mode visibility improvements
6 years ago
Brian Ashworth 9099adbbe6 swaynag: revamp type configs
6 years ago
Alex Maese 35ddd9aab3 Add unbindsym/unbindcode command for swaybar
6 years ago
Alex Maese 8d4f8aea46 Add unbindswitch command
6 years ago
Alex Maese 852f1f0b34 Create unbindsym and unbindcode commands
6 years ago
Brian Ashworth d7d29fe546 swaymsg: add timeout and type checks
6 years ago
Connor E b2cfcebef6 Add deprecation warnings for new_float, new_window, and force_focus_wrapping.
6 years ago
Benjamin Cheng bd3720585e Implement input type configs (#3784)
6 years ago
Benjamin Cheng 6737b90cb9 Add heuristics to differentiate touchpads
6 years ago
Brian Ashworth 6961bf2e4c Spawn swaynag as a wayland client
6 years ago
Brian Ashworth 69a1a0ff99 Fix scratchpad fullscreen behavior and crash
6 years ago
Brian Ashworth 195226120f Honor output for xdg_toplevel_set_fullscreen
6 years ago
Brian Ashworth 75e7bd24cc swaybg: one instance for all outputs
6 years ago
Brian Ashworth 679c058fac scratchpad: set initial size
6 years ago
Brian Ashworth dd28e6a6d6 Fix xwayland configure request scratchpad crash
6 years ago
Brian Ashworth d9de5b8758 Implement inhibit_idle command
6 years ago
Geoff Greer 6e3046878d Add support for manually setting subpixel hinting on outputs.
6 years ago
mliszcz 200833caae Allow for workspace renaming during exec handling
6 years ago
Brian Ashworth 7d2076cbff criteria: fix __focused__ when no focus or unset
6 years ago
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
6 years ago
Ryan Dwyer e9a476244d Remove debug tree
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 3106ef23a7 Fix output config retrieval for new outputs
6 years ago
Brian Ashworth 52a61671e9 criteria: change workspace to support regex
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
6 years ago
Ryan Dwyer d16845d5f0 Don't send button events to surfaces when dragging or resizing
6 years ago
Ian Fan 5c8424c074 stringop.c: remove unused functions
6 years ago
Brian Ashworth 017a7c4da1 sway_view_child: add listener for view unmap
6 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
6 years ago
emersion 88b283c557 seat: don't send button release when not pressed
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
Drew DeVault 4599907de7 swaybar: process hotspots on touch tap
6 years ago
emersion 656541bcc4
Update for swaywm/wlroots#1517
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
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
Ian Fan 5484f308b9 swaybar: prevent signal handler from firing during termination
6 years ago
emersion 97c89b24b8
Rebase cursor when a layer surface maps
6 years ago
Brian Ashworth 7299b9a6ca seat_cmd_cursor: do not create non-existing seat
6 years ago
Brian Ashworth ebe5399ed6 pointer_constraint: change to a seat subcommand
6 years ago
v44r 204e1f4712 Rebase #1636 against current master
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
Brian Ashworth f0fd6119cf Cleanup config reading failure error logs
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
emersion a452f8f822
Update for swaywm/wlroots#1503
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
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
Ian Fan de9a357de8 util.c: remove numlen function
6 years ago
Ryan Dwyer 2301349ad5 Use noop output when there's no outputs connected
6 years ago
M Stoeckl 4b1eaaf731 Removed unused wlroots dependency for sway(bg|bar|msg|nag)
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion dc1eac0cf1 output: remove output_add_listeners
6 years ago
emersion f951c2357f
Remove unicode.c
6 years ago
emersion b29d19bf0d
Remove swaylock headers
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
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
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 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 9ce4d53e78
Merge pull request #3408 from RedSoxFan/bar-padding
6 years ago
Brian Ashworth 50d36ef238 swaybar: allow identifiers for output and tray
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
Robinhuett 33d9de88ef swaylock: Add caps lock state to indicator
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
Ryan Dwyer ed5aafd90b Refactor seat operations to use an interface
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
Ian Fan d093c3ac55 swaybar: handle SNI signals better
6 years ago
emersion 140bc2dd5b
Merge pull request #3275 from ianyfan/remove-readline
6 years ago
Rouven Czerwinski fde900861a cursor: move unhide and timeout retrieval into separate functions
6 years ago
Brian Ashworth 5bf4daf263 Implement tiling_drag_threshold
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 9e31f5d79c swaybar: use KDE's SNI IconThemePath property
6 years ago
Ian Fan f33b5c5223 swaybar: do not create tray if hidden
6 years ago
Ian Fan 2fd41fe9c8 swaybar: set bar dirty on SNI event
6 years ago
Ian Fan 6becde0246 swaybar: implement mouse events for tray
6 years ago
Ian Fan fa2c5282c1 swaybar: implement tray rendering
6 years ago
Ian Fan 6b03c68775 swaybar: implement tray config
6 years ago
Ian Fan 74655f835a swaybar: add StatusNotifierItem to tray
6 years ago
Ian Fan e6cb55e2f8 swaybar: add StatusNotifierHost to tray
6 years ago
Ian Fan 746600e6ed swaybar: implement icon themes and lookup for tray
6 years ago
Ian Fan 02df3f67aa swaybar: add StatusNotifierWatcher to tray
6 years ago
Ian Fan 5f65f33989 swaybar: add tray interface
6 years ago
Ian Fan 598e950296 swaybar: remove old tray implementation
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 3e8f548d1d Revamp seat configs
6 years ago
Brian Ashworth ae8937b11a Add failure reply on IPC_SYNC
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 88d96bc41f Combine output_by_name and output_by_identifier
6 years ago
Brian Ashworth 35a82a8693 swaybar: fix cursor scale
6 years ago
Brian Ashworth 1897edabba Rework default output configs
6 years ago
Ian Fan 98c1e19466 list.c: rename free_flat_list to list_free_items_and_destroy
6 years ago
Ian Fan 19e831ed3d list.c: Remove list_foreach
6 years ago
Hristo Venev 24e8ba048a Add relative coordinates in JSON for i3bar click events
6 years ago
Brian Ashworth 1bd8463481 Implement bar gaps
6 years ago
Brian Ashworth e5f90f25d7 Introduce a way to show config warnings in swaynag
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 c931a13af9
Merge pull request #3207 from RedSoxFan/swaynag-no-term-buttons
6 years ago
Brian Ashworth 673da83260 Implement swaynag -B/--button-no-terminal
6 years ago
Brian Ashworth 5c6f3d7266 Change execute_command to return a list of results
6 years ago
emersion fc79b7c2d2
Handle destroyed subsurfaces
6 years ago
Brian Ashworth e6562c8cd2 Implement title alignment
6 years ago
Florent de Lamotte 7555c7efdc Adding commands for configuring titlebar borders and padding
6 years ago
emersion bf7af9c690
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
6 years ago
emersion 311c7db7e3
Add xwayland command
6 years ago
Spencer Michaels 70bc4c3ab6 Add scroll factor config option.
6 years ago
emersion cad851805b
Use #if instead of #ifdef
6 years ago
Connor E 4bd46fb079 Implement strip_workspace_name.
6 years ago
Ryan Dwyer be9348d25c Move view {x,y,width,height} into container struct
6 years ago
emersion 2afd930914
Use #if instead of #ifdef for WLR_HAS_*
6 years ago
Brian Ashworth 12876932a9 Allow multiple outputs for workspace output
6 years ago
Ryan Dwyer aad2f444f0
Merge pull request #3087 from RedSoxFan/side-gaps
6 years ago
Brian Ashworth 9e8aa39530 Implement per side and per direction outer gaps
6 years ago
Brian Ashworth 6a42643784 gaps: remove duplicate inner gaps
6 years ago
Connor E 4a21981855 Add focus_follows_mouse always. (#3081)
6 years ago
Drew DeVault c18cd9dd03
Merge pull request #3021 from Snaipe/singlekey-binding-trigger
6 years ago
Ryan Dwyer 9fc736f4e1 Move view marks properties to container struct
6 years ago
Drew DeVault 480b03b734
Merge pull request #3040 from RyanDwyer/border-props-to-container
6 years ago
Ryan Dwyer bf19f63a79 Wrap to fartherest output when running focus output
6 years ago
Ryan Dwyer 528c7495bb Move view border properties to container struct
6 years ago
madblobfish 1f23ec2d05 Revert "Add resolve_path() to utils"
6 years ago
Ryan Dwyer 7be309710d Remove enum movement_direction
6 years ago
Franklin "Snaipe" Mathieu f8e83ee20a binding: match single-key bindings if no multi-key binding matched
6 years ago
Robinhuett 0a4cf4748d Use output identifier for workspace config
6 years ago
Ryan Dwyer 60a1d79de7 Rebase the cursor after applying transactions
6 years ago
Drew DeVault ea2497d35c
Merge pull request #2950 from emersion/presentation-time
6 years ago
Drew DeVault 46fc4ba4e3
Merge pull request #2957 from RyanDwyer/rebase-cursor-after-map
6 years ago
Ryan Dwyer 17bb39cd49 Add multiseat support to swaylock
6 years ago
Ryan Dwyer bdae625cb3 Rebase the cursor after mapping a view
6 years ago
Drew DeVault bdb176863c
Merge pull request #2933 from Snaipe/xwayland-window-properties
6 years ago
emersion a654ac1bd6
Implement the presentation-time protocol
6 years ago
Franklin "Snaipe" Mathieu 8fc9328334 xwayland: populate window_properties in json for views
6 years ago
Ian Fan 9227cb7d67 commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST
6 years ago
Ian Fan 5364255f26 commands: remove EXPECTED_MORE_THAN
6 years ago
Ryan Dwyer 6deb726873 Fix crash when quitting a QT app on the wayland backend using menu
6 years ago
Christian 989bddc765 Parse missing i3 window types
6 years ago
Ryan Dwyer c5a6c37275 Make workspace back_and_forth seat-specific
6 years ago
Ryan Dwyer b9b1b0e566 Remove raise_floating directive
6 years ago
Ryan Dwyer c006717910 Minor refactor of input manager
6 years ago
Ryan Dwyer 9ea71f292b Introduce cursor_rebase
6 years ago
Ryan Dwyer 4d743b64d0 Fix logic used for mouse_warping output
6 years ago
Drew DeVault 96e3686ae8
Merge pull request #2875 from RedSoxFan/input-device-bindings
6 years ago
Ryan Dwyer a2fdac2c4b Consider cursor warp when switching workspaces
6 years ago
Brian Ashworth 2e637b7368 cmd_bind{sym,code}: Implement per-device bindings
6 years ago
Ian Fan 499150a91b swaybar: separate input code to new file
6 years ago
Ryan Dwyer 24a90e5d86 Remove cursor warping from seat_set_focus
6 years ago
Drew DeVault 765c80e5f7
Merge pull request #2820 from Emantor/fix-mouse-warping-container
6 years ago
Rouven Czerwinski 0969bf758b cursor: functions to warp cursor to container and workspace
6 years ago
Rouven Czerwinski 892446a0b6 view: move arrange_workspace into view_map
6 years ago
Ryan Dwyer 05284b65db Prevent duplicate workspace::focus events
6 years ago
Ryan Dwyer 26278b694c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
6 years ago
Ryan Dwyer c6f153d8f9 Event loop: Fix memmove and remove extraneous declaration
6 years ago
Ryan Dwyer 6921fdc6d6 Remove timerfd from loop implementation
6 years ago
Ryan Dwyer f98f351a52 swaylock: Don't wait too long for surface damage before verifying
6 years ago
Ryan Dwyer fa11b7f701 swaylock: clear password after 10 seconds
6 years ago
Ryan Dwyer c242712262 swaylock: Remove indicator after 3 seconds
6 years ago
Ryan Dwyer 9c833c661a swaylock: Use common event loop
6 years ago
Ryan Dwyer 4056c09e13 Move swaybar's event loop to common directory and refactor
6 years ago
Ian Fan a29ee77411 swaybar: send signal to status when hiding or showing bar
6 years ago
Ian Fan f6f72cb949 swaybar: show hidden bar on urgency
6 years ago
Ian Fan 2f1fd80726 swaybar: show hidden bar on key event
6 years ago
Ian Fan bcc61e5147 swaybar: handle mode/hidden_state changes
6 years ago
Ian Fan fed11d1c7b swaybar: move mode & mode_pango_markup to bar struct
6 years ago
Ian Fan 19f0bf3864 swaybar: add free_hotspots helper function
6 years ago
Ian Fan 18eaf45224 swaybar: annotate wl_list properties in definitions
6 years ago
Ian Fan d0b54e932b swaybar: save id upon startup
6 years ago
Drew DeVault abde9d6627
Merge pull request #2808 from RedSoxFan/bar-subcommands
6 years ago
Tarmack 36d9037f2c fix_edge_gaps: Allow negative values for outer gaps.
6 years ago
Brian Ashworth 00745d6280 Fix bar subcommand handler structs and selection
6 years ago
Ian Fan cd6917d4a8
Merge branch 'master' into bar-bindsym
6 years ago
Rouven Czerwinski 41991542ca Add mouse_warping container
6 years ago
Ryan Dwyer 61699a1146 resize: Determine if anything changed using before/after check
6 years ago
Brian Ashworth 1c969e86f5 Implement bar bindsym
6 years ago
Drew DeVault 4bebee620f
Merge pull request #2772 from RyanDwyer/improve-popup-damage
6 years ago
Ryan Dwyer f23588de3c Introduce container_is_transient_for
6 years ago
Ryan Dwyer 832ebc8966 Implement popup_during_fullscreen
6 years ago
Ryan Dwyer 82423991a8 Reload config using idle event
6 years ago
Drew DeVault 92e1fc00fd Shim client.background and client.placeholder
6 years ago
Ryan Dwyer 1059e173f4 Only damage popups when popups have damage
6 years ago
Ryan Dwyer b0393ae34b swaylock: Support keyboard and pointer disconnects and reconnects
6 years ago
Ian Fan e2dc6dfcd8 Remove obsolete base64.c file
6 years ago
Jonathan Buch 7727d54faf
Fix focusing topmost floating windows
6 years ago
Jonathan Buch 298ccb539c
Add configuration for raising containers on focus
6 years ago
Drew DeVault 06c214a800
Merge pull request #2703 from RyanDwyer/csd-border
6 years ago
Ian Fan 65593f49bc swaybar: add leading comma to click event JSON
6 years ago
Brian Ashworth bb25194844 Handle border options for gaps
6 years ago
Brian Ashworth 742d1764a6 Fix smart gaps
6 years ago
Drew DeVault f1dbdce0b2
Merge pull request #2726 from RyanDwyer/overhaul-gaps
6 years ago
Drew DeVault 8f6aca2166
Merge pull request #2725 from PumbaPe/add-tap-and-drag
6 years ago
Arkadiusz Hiler 1e70f7b19e Turn funcs() into funcs(void)
6 years ago
Arkadiusz Hiler d8200012fb Remove declarations that do no have definitions
6 years ago
Ian Fan 02dfeea54c swaybar: synchronize rendering to output frames
6 years ago
PP ae2b70f59e add tap-and-drag setting to sway-input
6 years ago
Ryan Dwyer 42f1fdf015 Return an error when resizing is a no op
6 years ago
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Ian Fan 751bb4a376 swaybar: move i3bar definitions into separate file
6 years ago
Ian Fan bcd2a8fe12 swaybar: remove unused focused_output property
6 years ago
Ian Fan 312d009f65 swaybar: fail if bar id is invalid
6 years ago
Ryan Dwyer 138d10d5d6 Rename workspace_outputs to workspace_configs and fix memory leak
6 years ago
Drew DeVault c977349120 Add support for building swaylock without PAM
6 years ago
Ryan Dwyer 21ff87d72b Improve CSD logic
6 years ago
Ryan Dwyer 6d0442c0c2 Rename view_set_csd_from_client to view_update_csd_from_client
6 years ago
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
6 years ago
Brian Ashworth baeb28ea62 Implement support for input wildcard
6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
6 years ago
Geoff Greer c495164f60 swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
6 years ago
Ryan Dwyer 10ef118e09 Fix pango escaping and refactor escape_markup_text
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
6 years ago
Drew DeVault 6ec3626228
Merge pull request #2676 from ianyfan/ipc
6 years ago
Ian Fan 81f3fda6fa ipc: add pid information for views in layout tree
6 years ago
Ryan Dwyer db28459634 Introduce create_output command (for developer use)
6 years ago
Ian Fan 7882ac66ef swaybar: rewrite i3bar protocol handling
6 years ago
Ian Fan 70245c2cd5 swaybar: rewrite text protocol handling
6 years ago
Ian Fan 9932c6a1f1 swaybar: fix empty function prototypes
6 years ago
emersion 012df55be5 swaybar: use output names instead of output indexes
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
emersion 7699c5444c Update for swaywm/wlroots#1243
6 years ago
Ian Fan 2eaef80206 i3bar: count references to blocks
6 years ago