1016 Commits (541e6e260c2df0346b421cacfaf4ce5d204c49ba)

Author SHA1 Message Date
Tudor Brindus ed08f2f20c tree/view: fix smart gaps when ancestor container is tabbed or stacked
5 years ago
Tudor Brindus 53dc83fb68 tree/container: introduce `container_toplevel_ancestor` helper
5 years ago
Kalyan Sriram e3e548a648
Save transform during transaction
5 years ago
Kenny Levinsen 5a4a7bc0da container: Remove useless surface dimensions
5 years ago
Kenny Levinsen fcd0ab8f33 view: Save all buffers associated with view
5 years ago
Damien Tardy-Panis 0cbd26f0da Add views idle inhibition status in get_tree output
5 years ago
Tudor Brindus 6da1631090 input/cursor: rename `simulated_tool_tip_down` to be more accurate
5 years ago
Tudor Brindus d71fed95da input/cursor: keep reference to cursor in constraint
5 years ago
Tudor Brindus 5d13f647f9 input/tablet: add seatop_down entry for tablet input
5 years ago
Érico Rolim 1d3681f521 Remove code related to the security features
5 years ago
Martin Michlmayr 06fc42359b Fix typos in comments
5 years ago
Tudor Brindus 6f0a0bd385 input/pointer: only warp cursor when the confine region has changed
5 years ago
Michael Weiser 0f11aa037a commands: Add per-view shortcuts_inhibitor command
5 years ago
David96 2473cac32c Implement pointer simulation if client hasn't bound to touch
5 years ago
Tudor Brindus 726d187d3c input/tablet: simplify parameter plumbing for tablet references
5 years ago
Tudor Brindus e262f93d0a input: rename pointer handlers to be unambiguous
5 years ago
Tudor Brindus ae3ec745f8 input: refactor tablet motion into seatop handler
5 years ago
Tudor Brindus 0dc1863dce input/cursor: make cursor rebasing cursor type-agnostic
5 years ago
Simon Ser 5e5e5f2ee5 Add a secondary headless backend
5 years ago
Tudor Brindus 2913f39dcb input/cursor: release simulated tool tip button when over v2 surface
5 years ago
Tudor Brindus 44b2d3ad81 input/cursor: fix hide cursor timeouts on tablets and touchscreens
5 years ago
Andri Yngvason 46599df0a2 input: Mark virtual devices as such
5 years ago
Simon Ser 4d13cee59a Use bitshifts for bitfields
5 years ago
David96 8c62278207 Render layer shell popups over the top layer
5 years ago
Simon Ser 0cdcf66bbc Introduce test_output_config
5 years ago
xdavidwu 4e1e5e4e33 im: make text-input listeners per text-input
5 years ago
xdavidwu 5886187c6e Port input method and text input from rootston
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ryan Dwyer 2301349ad5 Use noop output when there's no outputs connected
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion dc1eac0cf1 output: remove output_add_listeners
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
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 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
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 6b03c68775 swaybar: implement tray config
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 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 1897edabba Rework default output configs
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
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
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
Ryan Dwyer 528c7495bb Move view border properties to container struct
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
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
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
Ian Fan 2f1fd80726 swaybar: show hidden bar on key event
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
Jonathan Buch 7727d54faf
Fix focusing topmost floating windows
6 years ago