1493 Commits (65b1a6964c81efd84832c80ec9fc0273c8975225)

Author SHA1 Message Date
xdavidwu 5886187c6e Port input method and text input from rootston
5 years ago
Ian Fan 65501f0e46 tray: track SNI callbacks
5 years ago
Ian Fan 68f53cd509 tray: tidy code
5 years ago
Ian Fan 3b894c387d tray: allow themes to inherit from multiple themes
5 years ago
Linus Heckemann df48c48123 add --no-repeat option for bindings
5 years ago
Michael Weiser 3ee5aace33 commands: Add shortcuts_inhibitor command
5 years ago
Michael Weiser eeac0aa170 input: Add support for keyboard shortcuts inhibit
5 years ago
Michael Weiser ef9c597fcb config: Fix typo in reload bindsym flag bitmask
5 years ago
Simon Ser 5d692b0581 Add an adaptive_sync output command
5 years ago
Simon Ser 9d0aa0cb83 Use wlr_client_buffer
5 years ago
Simon Ser 241684eb1d Drop sway_output.surface_needs_frame
5 years ago
Simon Ser c0811fcf87 Make handle_destroy and output_repaint_timer_handler static
5 years ago
Ryan Dwyer 2045ac3472 Introduce pid criteria token
5 years ago
Simon Ser 5ed01c861a Add support for wlr-output-power-management-unstable-v1
5 years ago
Torstein Husebø af294289b1 treewide: fix typos
5 years ago
Brian Ashworth 8b593677d2 output: fix updating output manager config
5 years ago
Simon Ser f5fa0c7124 Stop calling apply_output_config from output_enable
5 years ago
Hristo Venev 7affe5c1bd swaybar: fix i3bar relative coordinates when scaling is used
5 years ago
Hristo Venev fca32b6334 Do not truncate pointer coordinates to int.
5 years ago
Anders 4e46bdf73d criteria: match containers without view
5 years ago
thermitegod 29a5ce5f65 Fix compiling with -fno-common
5 years ago
Ronan Pigott d88d4bbd9d Fix crash when showing scratchpad hidden split containers
5 years ago
Simon Ser 0d2a3fa835 Revert "Make all the container dimensions integers"
5 years ago
Brian Ashworth c99d423ad9 view: remove workspace pid mapping for assigns
5 years ago
Brian Ashworth 897c36b12c input/cursor: handle image surface destroy
5 years ago
Andri Yngvason 4c29a53386 swaynag: Add multi-seat support
5 years ago
Pedro Côrte-Real 79c5f5ba12 Make all the container dimensions integers
5 years ago
Pedro Côrte-Real 8008344762 Avoid numerical instability in resize
5 years ago
Josef Gajdusek f501a60c14 Add virtual pointer protocol
5 years ago
Brian Ashworth f898ca9a83 bar_cmd_colors: remove add_color
5 years ago
Brian Ashworth 66dc33296c cmd_client_*: refactor duplicated code
5 years ago
Brian Ashworth 97f9f0b699 parse_color: return success + drop fallback color
5 years ago
Brian Ashworth 452a615bb8 seat_cmd_keyboard_grouping: change keymap to smart
5 years ago
Drew DeVault 2f3c6cccf5 Add seat <seat> idle_{inhibit,wake} <sources...>
5 years ago
Benjamin Cheng 9ef026e804 input/cursor: pass gesture events to clients
5 years ago
Kenny Levinsen d1eab10266 output: Schedule idle frames if we do not render
5 years ago
Ronan Pigott 6968fb3123 add scale_filter output config option
5 years ago
Brian Ashworth 5d882cb5fc Add support for wlr_keyboard_group
5 years ago
Brian Ashworth 2f858a1ada input_cmd_xkb_file: allow shell path expansion
5 years ago
Ivan Molodetskikh bd9a53f1a3 view: add max_render_time
5 years ago
Ivan Molodetskikh 5421198489 Add sway_surface
5 years ago
Ivan Molodetskikh 022df2542b output: add max_render_time
5 years ago
Tadeo Kondrak 7f54495b5e Use an enum instead of a marker string for map_to_
5 years ago
Tadeo Kondrak 4829f1c26a Implement input map_to_region command
5 years ago
Ronan Pigott 3975ca28c2 smart_borders: separate smartness from edge types
5 years ago
Simon Ser 38b37247ff Add --custom to `output mode` command
5 years ago
Sheena Artrip 7efb5d4673 Rename symbol set_cloexec to sway_set_cloexec, remove duplicates.
5 years ago
Simon Ser ad07886543 Handle layer changes for layer shell surfaces
5 years ago
Ronan Pigott 7c9b71f5c6 criteria: make literal comparison for __focused__ values
5 years ago
Simon Ser ec14a00e8c Fix segfault in wlr_output_manager_v1_set_configuration
5 years ago
Simon Ser 58a40ce07b Fix apply_output_config return value when enabling output
5 years ago
Konstantin Pospelov fa0abaf7cf swaybar: do not retry search for tray icons
5 years ago
lbonn 3ee3a9ef60 focus: support focus_wrapping workspace
5 years ago
John Chadwick 7e420cb6e4 input: Add support for tablet protocol.
5 years ago
Aleksis 982e01f46c remove unused layer shell surface variable
5 years ago
Brian Ashworth 1fd2c6ba49 swaybar: complete barconfig_update event handling
5 years ago
Ben Brown b46c53957f Fix typo for the force/immediate option in xwayland_mode enum
5 years ago
Brian Ashworth ff7d979d99 cmd_xwayland: add force for immediate launch
5 years ago
Brian Ashworth 384afc5cb5 input/keyboard: send released only if pressed sent
5 years ago
Simon Ser 7488d33d42 Remove xdg-shell v6 support
5 years ago
Drew DeVault cb8f68d74b layer-shell: add support for popups
5 years ago
Brian Ashworth 8ee054b1b9 bindsym/code: add group support
5 years ago
Simon Ser f984f21b6a Remove all wayland-server.h includes
5 years ago
Ashkan Kiani e4bba906b6 Avoid adding duplicate criteria for no_focus and command
5 years ago
Brian Ashworth 1a16262903 ipc: add input::libinput_config event
5 years ago
Brian Ashworth 6effca7b61 ipc: add an input event
5 years ago
Ed Younis eb770e88b7 Implement input_cmd_xkb_file (#3999)
5 years ago
Josef Gajdusek ac87df23ea Update output manager on layout change
5 years ago
Pedro Côrte-Real 44c2fafa4f Sanity check gaps between tiled containers
5 years ago
Pedro Côrte-Real d0233af3b3 Rework gaps code to be simpler and correct
5 years ago
Manuel Stoeckl 2dc4978d8a Use -fmacro-prefix-map to strip build path
5 years ago
Pedro Côrte-Real e3a3917d3a Layout tiled using a width/height fraction
5 years ago
Brian Ashworth 152e30c374 cmd_bindswitch: add option to execute on reload
5 years ago
Sebastian Parborg 538b36c0e2 Make mouse drag in tiled mode swap containers if no edge is selected
5 years ago
Sergei Dolgov 01ec18e802 Add calibration_matrix config option
5 years ago
Brian Ashworth c346c020bf config: fix find_handler logic
6 years ago
Rouven Czerwinski ddad41f423 Fix sway crashes for scratchpad layouts
6 years ago
Brian Ashworth 9670ccee68 bindings: defer while initiailizing
6 years ago
Matt Coffin 2b5bf78faf Fix segfaults caused by faulty command parsing
6 years ago
Simon Ser 2bccb387d8 Add a new xkb_switch_layout command
6 years ago
Brian Ashworth 5b1a8d62b9 config/input: validate xkb keymap before storing
6 years ago
Brian Ashworth be2d2a299a commands/input: perform basic keymap validation
6 years ago
Daniel Eklöf 190546fd31 add seat sub command 'xcursor_theme'
6 years ago
Kenny Levinsen 4925882920 Use parent get_root_coords in subsurfaces
6 years ago
Josef Gajdusek b3a5effef2 Implement wlr-output-management-v1
6 years ago
Brian Ashworth 23c64ab22d input/keyboard: attempt default keymap on failure
6 years ago
Moelf ed2e553b8d Implement output toggle
6 years ago
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