4218 Commits (414950bbc8e833362a689cc11720855e8edd1323)

Author SHA1 Message Date
Ronan Pigott 32b93ef6ea xdg_shell: allow views to change geometry anytime
4 years ago
Rex Hackbro f1afef5533 document parse_error
4 years ago
Simon Ser 83389da583
Log which output is using direct scan-out
4 years ago
Brian Ashworth 9d6787d10d input/keyboard: fix Group# bindings for keyboard groups
4 years ago
Tudor Brindus 07042486c3 tree/container: introduce `container_is_sticky[_or_child]` functions
4 years ago
Simon Ser a56098a24e
Add missing includes for wlr_input_device.h
4 years ago
Simon Ser bb342ac5e6
Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Tudor Brindus 0df5753aed input/seatop_default: consider fullscreen views to have no edges
4 years ago
Tudor Brindus c523aa623b input: fully change focus when scrolling tabs/stacks
4 years ago
Tudor Brindus 60d95414d4 commands/focus: force container warp when fulfilling `focus mode_toggle`
4 years ago
Tudor Brindus 8c12e71a66 input: remove motion deltas from seatop callbacks
4 years ago
Tamir Zahavi-Brunner 96578aa91e hide_cursor: Add an option to hide when typing
4 years ago
mwenzkowski 4799cb0960 output: Revert implementation of evacuate_sticky()
4 years ago
Dimitris Triantafyllidis 39328ca4e4 In container_split, set a floating container's view to tiled
4 years ago
mwenzkowski 32788a93f2 output: evacuate sticky containers only if new output has a workspace
4 years ago
Dimitris Triantafyllidis 0cb9282aee Smart borders fix: always show borders for floating containers
4 years ago
mwenzkowski 13a67da614 container: Fix NULL pointer dereference
4 years ago
Ronan Pigott d06c1ac1e9 commands/move: fix crash when moving sphsc child
4 years ago
Daniel De Graaf 1be66c98f2 commands/resize: don't consider 1px resizes to be invalid
4 years ago
Ronan Pigott 9e272a7986 tiling_resize: abandon resize if a sibling con dies
4 years ago
Tudor Brindus cc8d318aa1 transaction: make transaction collapsing smarter with > 2 views
4 years ago
Tudor Brindus 8355884fbd transaction: validate X transaction completions by geometry, not size
4 years ago
Tudor Brindus 5bd6a5ce3f transaction: don't reconfigure X views unless integral coords changed
4 years ago
Ronan Pigott 33affb33d2 tiling_drag: emit window move ipc events
4 years ago
Tudor Brindus 181798c2fe xwayland: listen to `set_geometry` event
4 years ago
Ronan Pigott 5bcbc0b4a9 seat: use default output mapping if there is no input config
4 years ago
Tudor Brindus ed247c031c input/tablet: add tool_mode option to set tablet tools as relative input
4 years ago
Tudor Brindus 136add4e12 input/cursor: default tablet lens tool to relative motion
4 years ago
Tarmack 989123a2a5 Add support for workspace_min_width bar option.
4 years ago
Tobias Langendorf 657587964e xwayland: support views that change override-redirect status
4 years ago
Tudor Brindus 392d4808c3 commands/move: fix single-split escaping on move
4 years ago
Tudor Brindus bc239b2f6b desktop/render: show indicators for top-level split
4 years ago
David96 c150177a94 Make focus_follows_mouse work when hovering a layer-shell surface on another output
4 years ago
John Mako 4537c8b3d4 check parent surface before it is destroyed
4 years ago
Rouven Czerwinski 41999d7c9f cursor: update hide timer during config apply
4 years ago
Geoffrey Casper 65a751a21f server: Avoid using "wayland-0" as WAYLAND_DISPLAY
4 years ago
Rouven Czerwinski 299a159add cursor: arm cursor hide timer immediately
4 years ago
Tudor Brindus 2efecc14ef input/pointer: update cursor activity after updating button counts
4 years ago
Rouven Czerwinski afa890e8e9 input/cursor: reset event source after unhide
4 years ago
BrassyPanache 7ca9ef12f8 Re-focus on parent surface if it is available
4 years ago
Brian Ashworth 2ea5d2985a input/libinput: remove input type property bias
4 years ago
Simon Ser 2c76923282 Use wlr_output_event_commit
4 years ago
Konstantin Pospelov fd216b3a81 exec: fix validation during config reload
4 years ago
Simon Ser 6991ac8c70 Handle SIGINT
4 years ago
Ronan Pigott b7f28cd6b7 view: remove foreign toplevel listeners on destroy
4 years ago
Ronan Pigott f478f4cc66 view: implement foreign toplevel fullscreen request
4 years ago
Ronan Pigott a01573016a view: implement foreign toplevel fullscreen indicator
4 years ago
Rex Hackbro 8fb9f3b711 document force_display_urgency_hint
4 years ago
Rex Hackbro 12a9ae013e fix force_display_urgency_hint parsing
4 years ago
Rex Hackbro d25e308f9c fix typos
4 years ago
Antonin Décimo bbf7b92fe4 Fix incorrect format specifiers
4 years ago
Antonin Décimo a1c6052383 Log empty value if envvar is not defined
4 years ago
Antonin Décimo 2960b2c9b6 cmd/bar/colors: fix dereference of null pointer
4 years ago
Antonin Décimo 8033b575f7 ipc: fix aligment issue of data buffer
4 years ago
Thayne McCombs b20d52f71d Use wlr_output_layout_output_at to get output for move to cursor
4 years ago
Thayne McCombs cfa403fc58 Keep windows in bounds on move to position mouse
4 years ago
Ronan Pigott dae74057b3 commands: disallow runtime include
4 years ago
Ronan Pigott 3520fd2c19 view: display scratchpad hidden containers when activated by ftm
4 years ago
Tobias Langendorf 4f718e6c75 Fix X11 clients getting stuck minimized
4 years ago
Antonin Décimo 7c7afa3b29 Fix typos in man page.
4 years ago
Nils Schulte b513981378 added ppt unit to move position command
4 years ago
Nils Schulte 6898d1963f moved and renamed movement-unit parsing to common
4 years ago
Ronan Pigott 36c3c222d2 sway.5: add missing underscore
4 years ago
Andri Yngvason ab8ded626b desktop: output: Scale custom output refresh rate
4 years ago
Tudor Brindus 6b9a9b6246 input/cursor: don't send wl_pointer.motion event on pointer unlock warp
4 years ago
Ronan Pigott 4dd46f06ac xdg_shell: schedule configure on maximize requests
4 years ago
Simon Ser 9bb70283e9 Assert output is found before removing from list
4 years ago
Ronan Pigott 39d677af15 input: implement xdg_toplevel interactive resize hints
4 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
4 years ago
Geoffrey Casper ea3ba203cc Reload command now matches i3's implementation
4 years ago
Nick Diego Yamane e5954f321f seat/dnd: support null drag icon surfaces
4 years ago
Tudor Brindus b4a75a1ab2 commands/move: maintain workspace_layout when moving
4 years ago
wb9688 17ff13fc84 Replace unprintable characters in input device id
4 years ago
Simon Ser b5a35c484f tree/view: fix segfault in view_update_title
4 years ago
Simon Ser eb4fa18308 Unset DISPLAY when wlr_xwayland fails
4 years ago
Simon Ser dfccd2a4c4 Don't set xwayland cursor when wlr_xwayland failed
4 years ago
Simon Ser 1bfbf262cc seat: fix segfault in sway_input_method_relay_set_focus
4 years ago
Tudor Brindus 92891fb1ed commands/move: unwrap workspace container on move to new workspace
4 years ago
Johan Bjäreholt 1f8dbb320a tree/view: Make foreign-toplevel app_id fallback to class
4 years ago
Isaac Freund 76adcc3fd3 output: simplify loop over layer surfaces
4 years ago
Kenny Levinsen 492267a5d6 seat: Refocus seat when wlr_drag is destroyed
4 years ago
Kenny Levinsen d0f7e0f481 transaction: Mark client resize immediately ready
4 years ago
Tudor Brindus bb85b9070d tree/view: fix smart borders with tabbed/stacked ancestor
4 years ago
Tudor Brindus c822427091 input/pointer: correctly handle bindings for synthetic events
4 years ago
Drew DeVault 8d5e627bc9 Implement wlr-foreign-toplevel-management-v1
4 years ago
Tudor Brindus eeb90a7963 input_cmd_click_method: fix typo in error text
5 years ago
Tudor Brindus 2270b4c213 input/seat: don't notify keyboard grabs with NULL surface on shutdown
5 years ago
Tudor Brindus b3f08597cd input: disable events for map_to_output devices when output not present
5 years ago
Tudor Brindus d328c2439c input/pointer: don't trigger pointer bindings for emulated input
5 years ago
Tudor Brindus 82c439c4f1 input/cursor: send idle events based off device type, not input type
5 years ago
Simon Ser e19bd1e474 Add support for viewporter
5 years ago
Tudor Brindus 8fa74add82 input/pointer: don't trigger pointer bindings for emulated input
5 years ago
Tudor Brindus 20deb8ec16 input/tablet: focus appropriate node on tip down
5 years ago
Brian Ashworth 33aa59d4c6 input/keyboard: wlr_keyboard_group enter and leave
5 years ago
Jason Nader 45859be03f i3-compat: add GET_BINDING_STATE IPC command
5 years ago
Simon Ser f9361ae36c Remove view child surface_{map,unmap} listeners on destroy
5 years ago
Ronan Pigott 90d936d4ad view: fix surface_new_subsurface use-after-free
5 years ago
Simon Ser bf8d23a836 Log Sway version on startup
5 years ago
Tudor Brindus ed08f2f20c tree/view: fix smart gaps when ancestor container is tabbed or stacked
5 years ago
Tudor Brindus 14e887bc3d input: tweak resize behavior to not change tab focus on border click
5 years ago
Tudor Brindus ce494a5811 input/tablet: allow moving tiling tablet v2 surfaces by pen input
5 years ago
Tudor Brindus 7dec1f8398 input/tablet: allow moving floating tablet v2 surfaces by pen input
5 years ago
Tudor Brindus 53dc83fb68 tree/container: introduce `container_toplevel_ancestor` helper
5 years ago
Tudor Brindus d7900c6e5e common/util: fix `get_current_time_msec` returning microseconds
5 years ago
Thomas Hebb 84ec8f92a6 Use new wlroots API for clearing keyboard/pointer focus during grabs
5 years ago
Kalyan Sriram e3e548a648
Save transform during transaction
5 years ago
Tudor Brindus f7e050c58f input/cursor: refactor tablet tool tip events into seatops
5 years ago
Kenny Levinsen f8dd7df1f5 shells: Resize on commit if geometry x/y changes
5 years ago
Kenny Levinsen 5a4a7bc0da container: Remove useless surface dimensions
5 years ago
Kenny Levinsen 7670f1a521 transaction: Improve transaction commentary
5 years ago
Kenny Levinsen 645cf76f8a transaction: Account for full size when centering content
5 years ago
Kenny Levinsen 4edd429053 view: update_size should only update pending size
5 years ago
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