4106 Commits (a558866f42de74f7dc0500c3fe29bb506cf03cf6)

Author SHA1 Message Date
Kenny Levinsen fcd0ab8f33 view: Save all buffers associated with view
5 years ago
Tudor Brindus 613abdda6f xwayland: pass focus to previous unmanaged surface on unmap
5 years ago
Tudor Brindus 83866558d3 tree/container: refactor `tiling_container_at` to check bounds
5 years ago
Damien Tardy-Panis 0cbd26f0da Add views idle inhibition status in get_tree output
5 years ago
Brian Ashworth 8cdcb77e12 seat_cmd_cursor: emit frame events
5 years ago
Tudor Brindus 6da1631090 input/cursor: rename `simulated_tool_tip_down` to be more accurate
5 years ago
Tudor Brindus 6f7b548589 ipc: invert output transformation when necessary
5 years ago
Tudor Brindus 6ea45395c7 input/pointer: send pointer enter event on confine warp
5 years ago
Tudor Brindus 704d675a36 Log Xwayland startup failures
5 years ago
Tudor Brindus d71fed95da input/cursor: keep reference to cursor in constraint
5 years ago
Tudor Brindus 34e0cad9ac input/cursor: fix heap-buffer overflow in constraint set_region
5 years ago
Tudor Brindus 5d13f647f9 input/tablet: add seatop_down entry for tablet input
5 years ago
lbonn 848a6fdb21 ipc: show marks of containers without view in tree
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
Martin Michlmayr 2bf14cb747 sway.5: make formatting more consistent
5 years ago
Brian Ashworth 5c32a48453 input: fix reloading crash due to keyboard group configuring
5 years ago
Brian Ashworth 975b8a90ad input: reset keyboard groups keyboard on reset all
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
Adam Kürthy 7a294b2668 Really fix floating window border resize problems
5 years ago
Tudor Brindus 2262ae60f4 input/cursor: don't apply pointer constraint to emulated tablet input
5 years ago
Kenny Levinsen a8a6ed667d Simplify repaint scheduling documentation
5 years ago
Tudor Brindus 726d187d3c input/tablet: simplify parameter plumbing for tablet references
5 years ago
Tudor Brindus 7c37e9d01e input/keyboard: use wlr_keyboard_keymaps_match from wlroots
5 years ago
David96 e5fed6b246 Don't unhide cursor on touch events
5 years ago
Tudor Brindus 52bd6aecf2 input/cursor: remove erroneous cast for tablet tool button
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 9362003cba input/cursor: disambiguate cursor functions from pointer functions
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
Simon Ser 6021fc4a08 Fix invisible cursor on startup
5 years ago
Simon Ser f55de073c2 Don't assert the cursor theme loads
5 years ago
Tudor Brindus 2913f39dcb input/cursor: release simulated tool tip button when over v2 surface
5 years ago
Nick Diego Yamane 091f580b7c input/seatop_default: properly notify pointer leave
5 years ago
jhalmen 99897a6ca0 fix typos in sway-input.5.scd
5 years ago
Ejez 017f7984c7 Correct typo in sway-output.5.scd
5 years ago
Thomas Hebb f18bcfcd69 Add each view's shell to JSON description
5 years ago
Simon Ser 58703e4f24 man: add note about sway-input and sway-output pages
5 years ago
Tudor Brindus a5c26e6a05 input/tablet: query tablet focused surface for cursor image check
5 years ago
Tudor Brindus c3c9737e8b config/output: reconfigure input devices after full output init
5 years ago
Tudor Brindus d77247117c input/cursor: correctly transfer focus when using tablet pen
5 years ago
Tudor Brindus 3de1a3958e config/output: reconfigure input devices on new output
5 years ago
Adam Kürthy 65302093cf Take window borders into account when resizing floating windows
5 years ago
Tudor Brindus 44b2d3ad81 input/cursor: fix hide cursor timeouts on tablets and touchscreens
5 years ago
Tudor Brindus c23182fd7a input/cursor: fix jerky resizing of non-tablet_v2 surfaces
5 years ago
Tudor Brindus d88460f716 input/cursor: correctly send tablet_v2 up event when over non-v2 surface
5 years ago
Simon Ser 83d769805c Restrict relative output transforms to runtime changes
5 years ago
Ihor Kalnytskyi 58eb0c4082 scdoc: unbindcode --input-device, not input-device
5 years ago
Ian Huang 276e0301e0 interpret "subpixel none" as CAIRO_ANTIALIAS_GRAY
5 years ago
David96 2b15cf453e Don't transfer focus to NULL node on touch
5 years ago
Rouven Czerwinski 0efc28e2f5 input/seatop_default: release on empty workspace
5 years ago
Di Ma c0bce9138b Fix a use-after-free error in switch binding
5 years ago
Di Ma 2bece94b9b Fix a use-after-free error in switch binding
5 years ago
Di Ma c1c2fe04bb Fix a use-after-free error in switch binding
5 years ago
Di Ma a3e574f63f Fix a use-after-free error in switch binding
5 years ago
Simon Ser b300bace0f Implement create_output command for headless backend
5 years ago
Andri Yngvason b18d943442 input: keyboard: Never group virtual keyboards.
5 years ago
Andri Yngvason 46599df0a2 input: Mark virtual devices as such
5 years ago
roshal a1275055ea add dots to man
5 years ago
Aleksei Bavshin 525b48ede7 Adjust focus order to match rendering order of layer shell popups.
5 years ago
David96 8c62278207 Render layer shell popups over the top layer
5 years ago
Rouven Czerwinski ac0637708f output: remove damage listeners in damage destroy
5 years ago
Simon Ser 34dccd4224 Don't add disabled outputs back to output layout
5 years ago
Simon Ser 97a6524a5a Fix initial modeset
5 years ago
Simon Ser f03d50f54b Add test-only support to wlr-output-management-unstable-v1
5 years ago
Simon Ser 0cdcf66bbc Introduce test_output_config
5 years ago
Simon Ser 40e87fa98a Stop checking wlr_output_attach_buffer return value
5 years ago
Thomas Hebb 3078f23258 config: fix unfocused text color
5 years ago
Leo 3c96a1d374 im: Fix crash when im destorying and no focused surface exists
5 years ago
xdavidwu e6805ce6e9 im: remove listener on pending surface destoryed
5 years ago
xdavidwu 4e1e5e4e33 im: make text-input listeners per text-input
5 years ago
xdavidwu 9d455b48e4 input-method: avoid and log unneeded set_focus
5 years ago
xdavidwu 1241b42c88 input-method: remove surface listener before set
5 years ago
xdavidwu 5886187c6e Port input method and text input from rootston
5 years ago
Some Chinese Guy 7c44c76989 swapped hiding the cursor and sending a touch event as a more logical sequence
5 years ago
Tobi Fuhrimann ac3444295d Reference wev instead of xev
5 years ago
Simon Ser 3a5d9b3b32 Update for new wlr_buffer API
5 years ago
Leon Plickat dffc184a68 change apply_exclusive() to closer match layer shell protocol
5 years ago
Linus Heckemann df48c48123 add --no-repeat option for bindings
5 years ago
Simon Ser 5e41e6600b Change focus_on_window_activation default to urgent
5 years ago
Some Chinese Guy 63e45bf321 switched to setting focus with seat_set_focus
5 years ago
Some Chinese Guy 798fc24081 Added focus following for touch_down
5 years ago
rinpatch 214e3030e1 sway.5: fix missing background scaling mode in a block example
5 years ago
Josh Shone 82d02ce782 Fix hit test for floaters that cross outputs
5 years ago
r-c-f 854497b242
check for workspace command name arg
5 years ago
Leo 0b9feb6f39 Fix redundant call to seat_send_focus()
5 years ago
Simon Ser b34c198f0b Fix output mode usage
5 years ago
Jason Nader fcd524bb0d sway/input/cursor.c: fix undefined behaviour when event is NULL
5 years ago
Dennis Schridde 6498542b24 Document input selector precedence
5 years ago
Jason Nader 3ed780c783 sway/input/cursor.c: move NULL check to where it should be
5 years ago
Jason Nader 8b21bc6a79 commands/bind.c: remove unnecessary check
5 years ago
Jason Nader 50dc49f35a Limit workspace numbers within 0..INT32_MAX
5 years ago
Olivier Fourdan 7dd9cd29a6 input: Avoid creating the PAD device multiple times
5 years ago
Michael Weiser 30e666f171 commands: Adjust style in cursors command
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
Bor Grošelj Simić 27d5cf1316 input: implement cycling through keyboard layout list
5 years ago
Ian Fan 28e3187df1 ipc: add missing required properties
5 years ago
Tadeo Kondrak 91c0ffd6cf Null check sway_layer_surface when checking damage
5 years ago
Simon Ser a2d49099e1 Add adaptive_sync_status to output IPC reply
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 f5ba8006c9 Only schedule a frame if client has requested a frame callback
5 years ago
Simon Ser c0811fcf87 Make handle_destroy and output_repaint_timer_handler static
5 years ago
Jason Nader 476773dd32 ipc-server: improve error message
5 years ago
Brian Ashworth 7fea36750e sway.5: correct description of workspace [number]
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
Brian Ashworth e0f8235fbf Revert "Don't apply exclusive zones of unmapped layer-shell surfaces"
5 years ago
Simon Ser e1eda8a09c Don't apply exclusive zones of unmapped layer-shell surfaces
5 years ago
Simon Ser f2a60d2d05 Fix get_int_prop(WINDOW_TYPE) crash
5 years ago
Torstein Husebø af294289b1 treewide: fix typos
5 years ago
Brian Ashworth ec7d3f181d input_cmd_events: add support for input types
5 years ago
Brian Ashworth 0c23525d47 tree/view: do not attempt enter on hidden child
5 years ago
Jason Nader d2cab83833 i3compat: add `window_type` to IPC response
5 years ago
Jason Nader 8608a1c38b i3compat: add `window_type` to IPC response
5 years ago
Simon Ser f96dbf748a Specify that output transform applies clockwise rotations
5 years ago
Simon Ser ab00f7f319 Fix output transform rotation direction
5 years ago
Simon Ser a5a4d32816 Fix output transform anticlockwise
5 years ago
Brian Ashworth 8b593677d2 output: fix updating output manager config
5 years ago
Yorick van Pelt 447967ad3a Fix crash: use wlr_output->name instead of possibly missing oc->name
5 years ago
Brian Ashworth 7999845357 cmd_swap: fix test_mark condition
5 years ago
Simon Ser 47763c99f9 Apply the output scale filter after the output commit
5 years ago
Simon Ser f5fa0c7124 Stop calling apply_output_config from output_enable
5 years ago
Simon Ser 5e90080468 Call apply_output_config instead of output_enable
5 years ago
Simon Ser 555b0d4087 Fix output scale auto-detection
5 years ago
Brian Ashworth 33a984bbc5 config: fix validation exit code and log level
5 years ago
Teddy Reed 31a83bd48d Fix ordering of setgid and setuid
5 years ago
Brian Ashworth 0b709702c1 container_at_{tabbed,stacked}: check x-axis bounds
5 years ago
Andri Yngvason 803e89018a input: Map virtual-pointer to the requested output
5 years ago
Simon Ser 46561fc914 Fix seat_set_focus_layer crash when disabling output
5 years ago
Anders 4e46bdf73d criteria: match containers without view
5 years ago
Nathan Rossi ffbf10d07b ipc: Handle unsupported binding event types
5 years ago
Jason Nader 5568f14e71 Docs: Add marks field to get_tree response
5 years ago
thermitegod 29a5ce5f65 Fix compiling with -fno-common
5 years ago
Alex Maese 8faaf52f7f Add documentation for floating_modifier
5 years ago
Alex Maese 86ee240a4a Add ability to remove the floating modifier
5 years ago
Jason Nader a576bc27bf Check argc>0 before strcasecmp. Should shortcircuit
5 years ago
Jason Nader 450b40c635 commands/move: Fix crash when required args not provided
5 years ago
Brian Ashworth 9d827ef493 output: apply oc to outputs using wl_for_each_safe
5 years ago
Ronan Pigott 5501d14a2e cmd_split: Refuse to split scratchpad hidden split containers
5 years ago
Ronan Pigott 72ad35ba16 cmd_move: Fix crash when moving to scratchpad hidden split containers
5 years ago
Ronan Pigott d88d4bbd9d Fix crash when showing scratchpad hidden split containers
5 years ago
Brian Ashworth 18507e62fd desktop/output: fix mem leak in handle_new_output
5 years ago
Ronan Pigott 1bd51d9377 sway.5: Document missing bindsym flags for unbindsym
5 years ago
Ronan Pigott 5215cdfa92 sway-input.5: Document repeat_delay and repeat_rate only once
5 years ago
Ronan Pigott 33fc9c5f1f ipc-json: Remove unnecessary dereference
5 years ago
Ronan Pigott f68961fbe6 commands/split: Fix error message typos
5 years ago
Brian Ashworth a4e4e21edf container: add inactive fullscreen to focus stack
5 years ago
Simon Ser 679aa6032d Fix unreliable scaling filter
5 years ago
Cassandra McCarthy 8b251f068f integer scaling, not integral
5 years ago
Brian Ashworth c99d423ad9 view: remove workspace pid mapping for assigns
5 years ago
Brian Ashworth 1e2a2b0778 input/cursor: handle setting a NULL image surface
5 years ago
Brian Ashworth 897c36b12c input/cursor: handle image surface destroy
5 years ago
Brian Ashworth b977c02e35 render: do not render indicator on floating views
5 years ago
Ross Schulman b758b43085 Fix small typo in sway-input(5)
5 years ago
Thayne McCombs 218950c88d Add missing items to documentation for GET_TREE response in ipc.
5 years ago
Rouven Czerwinski 1e44247baa xwayland: handle size_hints == NULL
5 years ago
Andri Yngvason d510684c47 input: Assign virtual input devices to their selected seats
5 years ago
Pedro Côrte-Real bd1fb76e0f Make sure we don't calculate fractional pixel gaps
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
Paul Riou 2b5e75032b Fix sway_log using non initialised output_config pointer
5 years ago
Simon Ser ef2332f7a6 Re-add support for wlr_output's atomic API
5 years ago
Brian Ashworth de43f7c1db cmd_client_*: support optional args for i3 compat
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 088b374b1a layer-shell: refocus if keyboard interactive lost
5 years ago
Ronan Pigott bd42415b5d config/output: apply scale_filter even when scale has not changed
5 years ago
Manuel Stoeckl 1d483c340d desktop/surface: Fix crash when timer is NULL
5 years ago
Brian Ashworth 452a615bb8 seat_cmd_keyboard_grouping: change keymap to smart
5 years ago
Brian Ashworth 2b51c5b294 input/seatop_default: fix focusing floating titles
5 years ago
Brian Ashworth 0278c4db6f root_scratchpad_hide: disable fullscreen descendants
5 years ago
Brian Ashworth 218b5b9dc0 config/input: set type for new identifier configs
5 years ago
Brian Ashworth f9ce8749dc input/keyboard: defer wlr_keyboard_group destroy
5 years ago
Brian Ashworth f365ffef34 input/keyboard: remove group listeners on destroy
5 years ago
Simon Ser 2f84d6e349 Auto-detect output scale
5 years ago
Drew DeVault 2f3c6cccf5 Add seat <seat> idle_{inhibit,wake} <sources...>
5 years ago
Ronan Pigott f645f8efd6 Fix lingering workspace with scratchpad show
5 years ago
Brian Ashworth b7f0656fab layer-shell: unfocus output-less layer on unmap
5 years ago
Benjamin Cheng 2d0f15debb input/cursor: remove gesture listeners in destroy
5 years ago
Benjamin Cheng 9ef026e804 input/cursor: pass gesture events to clients
5 years ago
Brian Ashworth fe7ec8024c config: apply input type configs on reload
5 years ago
Jayce Fayne ad189d27f9 Revert "fix bar_state_update/input event"
5 years ago
Rex Hackbro a3da7fec32 fix bar_state_update/input event
5 years ago
Kenny Levinsen 275af2ad62 output: Restore previous max_render_time behavior
5 years ago
Kenny Levinsen d1eab10266 output: Schedule idle frames if we do not render
5 years ago
Kenny Levinsen 57f615e122 output: Replace block_idle_frame with frame_pending
5 years ago
Ronan Pigott 6968fb3123 add scale_filter output config option
5 years ago
Kenny Levinsen 4b57953628 output: Ensure that frame_done is delayed on max_render_time
5 years ago
Rex Hackbro 9979382d56 Rename 'node' to 'nodes' in swayipc doc
5 years ago
Brian Ashworth 0cdad33f1a input/keyboard: reset seat keyboard on destroy
5 years ago
Brian Ashworth 1a5797803a config: improvements to the reload validation
5 years ago
Brian Ashworth 90e3d25009 input/keyboard: check keyboard group before remove
5 years ago
Paul Riou 3334d11adc input: seat: Fix seat device list not initialised before use
5 years ago
Jason 939c7b2d52 Amend typos
5 years ago
Simon Ser 1d3cbe9f27 Use new presentation-time helper
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
Brian Ashworth 66725f2e27 input/keyboard: cleanup xkb_file error handing
5 years ago
Ivan Molodetskikh ba8586e282 Add note about backends to output max_render_time
5 years ago
Ivan Molodetskikh 76210c141d output: check wlr_output in repaint handler
5 years ago
Ivan Molodetskikh 7f8a47855c Add max_render_time to view JSON
5 years ago
Ivan Molodetskikh fe84ec2f24 Add max_render_time to output JSON
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
Rouven Czerwinski df1a046875 xwayland: get_constraints using size hints
5 years ago
Ronan Pigott 37afbc4dbc seatop_default: handle focus for unmanaged xwayland windows last
5 years ago
Simon Ser f576bcdb8c Use wlr_output_preferred_mode instead of the last mode
5 years ago
Simon Ser 01b5350bdc Fix segfault in set_mode
5 years ago
Ronan Pigott f33dcd4c60 Prefer higher refresh rate default modes
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
Ronan Pigott eaee087c17 seatop_default: handle focus for xwayland_unmanaged views
5 years ago
Ronan Pigott d159b98744 seatop_move_floating: make container respect pointer constraint
5 years ago
Ronan Pigott 1f469e1692 focus: do nothing on focus prev|next for workspaces
5 years ago
Sheena Artrip 7efb5d4673 Rename symbol set_cloexec to sway_set_cloexec, remove duplicates.
5 years ago
lbonn cf95de9cae focus: add a NULL check in `focus <direction>`
5 years ago
lbonn 30fa7d191e Fix potential NULL reference on cleanup
5 years ago
lbonn a6307aed00 Fix various memory leaks
5 years ago
lbonn 32caabc7a1 seat: simplify a strdup
5 years ago
Robert Günzler 354e705a7b Skip line continuation when it is a comment
5 years ago
Simon Ser 1a253ca7ab Fix presentation feedback when scanning out fullscreen view
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
Ronan Pigott f5f12a69f6 focus: support focus prev|next [sibling]
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
Kirill Chibisov 43bd8dc437 Fix tiled containers resize with mouse
5 years ago
Danilo Spinella a5b6f40937 Fix refresh rate scale of output
5 years ago
lbonn 3ee3a9ef60 focus: support focus_wrapping workspace
5 years ago
A. M. Joseph 74c0e7921a xwayland.c handle_map(): NULL out xsurface->data() to prevent crashing.
5 years ago
Drew DeVault d19f4f7bf8 Updates per wlroots layer shell changes
5 years ago
Rouven Czerwinski 344c259ec0 sway(5): move workspace_layout to config only
5 years ago
Wieland Hoffmann f79f00dbfb sway(5): Highlight valid values in the description of tiling_drag
5 years ago
Wieland Hoffmann 42db4468a0 sway(5): Add a missing verb
5 years ago
Arkadiusz Hiler cf18bd8879 Fix syntax in examples in sway-output(5)
5 years ago
Sebastian Krzyszkowiak edcd353a00 layer-shell: Fix damage tracking of nested popups
5 years ago
Simon Ser 00c4c7e8cc Fix direct scan-out flickering
5 years ago
John Chadwick 7e420cb6e4 input: Add support for tablet protocol.
5 years ago
Simon Ser 875edc9c2f Add support for fullscreen view direct scan-out
5 years ago
Ronan Pigott ec66bb987a view: create container before selecting workspace
5 years ago
Simon Ser c41c24d684 Error out on unknown debug flag
5 years ago