4630 Commits (dfbcd1fbaa5148e537a1c29dc3cbe8ea21ee5eac)

Author SHA1 Message Date
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
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
Brian Ashworth da0ad4c39e view: always populate pid
5 years ago
Ivan Molodetskikh fba248ed5e render: set surface as sampled for presentation
5 years ago
Martin Michlmayr c11c8a583f sway-output.5: fix variable name
5 years ago
Brian Ashworth aa8ea2fa82 sway.5: clarify that a marks are unqiue
5 years ago
Nils ANDRÉ-CHANG 21717d2ed2 Fix type (an -> and)
5 years ago
Versus Void 2c1a11016c Do not search for edges on subsurfaces, fix #4381
5 years ago
Brian Ashworth 1fd2c6ba49 swaybar: complete barconfig_update event handling
5 years ago
Brian Ashworth 187306640b seatop_default: only focus container on press
5 years ago
xPMo 42a7860dcf Fix bar_state_update docs
5 years ago
Ben Brown b46c53957f Fix typo for the force/immediate option in xwayland_mode enum
5 years ago
Simon Ser 1b396273bb man: document how to specify multiple xkb layouts and options
5 years ago
Simon Ser 53e01bf5c7 layer-shell: don't give focus to unmapped layer surfaces
5 years ago
Kenny Levinsen b2ee5bc05d Ensure that seat->focused_layer is cleared on unmap
5 years ago
xdavidwu 07d7af593d seat: set cursor image only if no pointer cap previously
5 years ago
xdavidwu afde6369b8 seat: avoid unneeded reloading xcursor theme
5 years ago
Martin Michlmayr 3dcfa2ee90 Fix markup syntax in man pages
5 years ago
Brian Ashworth 1a8b9fda8a cmd_mode: don't reset to default after subcommand
5 years ago
asdfjkluiop f07b9afee5 A layer-shell will only be focused if it is non-null
5 years ago
Michael Aquilina a298cad05c Fix formatting for title_format in man 5 sway
5 years ago
Dark c3fbb01e07 Update titlebar borders to match i3's current behavior.
5 years ago
Brian Ashworth 90bef0364b cmd_move: fix move to scratchpad hidden container
5 years ago
Laurent Bonnans a074e0f504 ipc: collapse multi-container command results
5 years ago
Brian Ashworth aa9ba58169 sway.5: remove mention of floating_scroll
5 years ago
lbonn 7baa3ffece Allow moving a container hidden in scratchpad
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
Ilia Bozhinov 06c36f8435 properly check pixman_region32_contains_rectangle return
5 years ago
Brian Ashworth 8441711990 input/seatop_down: add axis handler
5 years ago
Brian Ashworth 6061d083ca sway{,-bar}.5: add link to pango font description
5 years ago
Drew DeVault cb8f68d74b layer-shell: add support for popups
5 years ago
Brian Ashworth f36240208c workspace_split: focus middle if workspace focused
5 years ago
Brian Ashworth 75a7b02529 container_replace: copy {width,height}_fraction
5 years ago
Brian Ashworth acd3db4fe1 workspace: do not destroy if any seat is focusing
5 years ago
Brian Ashworth 3e33e1c76f handle_seat_node_destroy: do not focus own node
5 years ago
Brian Ashworth 804aacb8c7 workspace: prefer identifiers for output priority
5 years ago
Antonin Décimo 813e120979 Remove redundant checks
5 years ago
Antonin Décimo 3af52d86f7 Fix memory leaks
5 years ago
Antonin Décimo 0570eb19e5 view_update_size: fix surface_width/height mismatch
5 years ago
Antonin Décimo 9be76e6b12 input: check pointer against nullptr
5 years ago
Sebastian Krzyszkowiak dac9c9c72b layer_shell: Guard against negative exclusive zone
5 years ago
Rouven Czerwinski 724926ea6a Revert "Add support for wlr_output's atomic API"
5 years ago
Brian Ashworth dc5d76cf3b sway.5: explain how to enable pango markup in font
5 years ago
Brian Ashworth 19d05d3ae0 config/output: rebase cursors after config applied
5 years ago
Brian Ashworth f59b665792 cmd_mode: make modes case sensitive
5 years ago
Brian Ashworth 56b5ad777c input/cursor: do not hide when buttons are pressed
5 years ago
Brian Ashworth a9e31d925f cmd_swap: add floating support
5 years ago
Jeff Peeler 140ce785fe cmd_opacity: add relative opacity changes
5 years ago
Brian Ashworth 90d8a4df32 input/libinput: typo fixes (get -> get_default)
5 years ago
Antonin Décimo 7e5c2d7afa Allocator sizeof operand mismatch
5 years ago
Simon Ser 6e0565e9de Add support for wlr_output's atomic API
5 years ago
Brian Ashworth 8ee054b1b9 bindsym/code: add group support
5 years ago
Brian Ashworth 14562fdbee input/keyboard: don't reset layout for same keymap
5 years ago
Paul Ouellette f567a40d59 Fix typo in sway(5) manpage
5 years ago
Brian Ashworth 75de31d36e libinput: fix set_send_events
5 years ago
Brian Ashworth fc955716d4 input/libinput: fix typo in set_middle_emulation
5 years ago
Pedro Côrte-Real cefc608cb9 Fix resize sibling amount calculations
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 17c9a0e84f arrange: remove gaps for workspace location deltas
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
Brian Ashworth 36aa67e549 input_cmd_xkb_switch_layout: support input types
5 years ago
Brian Ashworth 92b22ee9ea cmd_output: support current output alias
5 years ago
Ed Younis 37308f6549 input_cmd_xkb_*: cleanup includes
5 years ago
Ed Younis eb770e88b7 Implement input_cmd_xkb_file (#3999)
5 years ago
rpigott 3716c53d35 Add missing description for focus_on_window_activation command in docs.
5 years ago
Josef Gajdusek ac87df23ea Update output manager on layout change
5 years ago
Sauyon Lee 9af0b4d2ea Make fullscreen check for fullscreen parents
5 years ago
Pedro Côrte-Real 95c444de33 Sanity check gaps on the outside of the workspace
5 years ago
Pedro Côrte-Real 99192a92f9 Avoid negative outer gaps
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
Pedro Côrte-Real 1312b5bb9f Layout correctly with several new windows
5 years ago
Brian Ashworth c312a10cc7 cmd_split: fix toggle split for non-split layouts
5 years ago
Brian Ashworth 5ffcea4c28 cmd_layout: toggle split for tabbed/stack default
5 years ago
Brian Ashworth 6096d31eed config/output: correctly set width/height in apply
5 years ago
Brian Ashworth 32265d9136 input/libinput: only reset supported options
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 c9cb5ced7f calibration_matrix: expect 6 individual values
5 years ago
Sergei Dolgov a5c6816095 calibration_matrix: add the current matrix to the IPC description for libinput devices
5 years ago
Sergei Dolgov bcceb61b43 Use isnan
5 years ago
Sergei Dolgov 01ec18e802 Add calibration_matrix config option
5 years ago
random human 0ba959f1ce tree: set correct border value before creating floater
5 years ago
Brian Ashworth a18d1c55ce ws-output-priority: fix logic issue in find_output
6 years ago
murray b59139c239 use surface coordinates for damaging buffers
6 years ago
Brian Ashworth d0d01810f3 cmd_mode: allow runtime creation and modification
6 years ago
Brian Ashworth fc3253cc35 cmd_seat: split action and config handlers
6 years ago
Brian Ashworth c346c020bf config: fix find_handler logic
6 years ago
Brian Ashworth 5069b53d6c config/xwayland: retain xwayland status on reload
6 years ago
Rouven Czerwinski ddad41f423 Fix sway crashes for scratchpad layouts
6 years ago
Robert Sacks bdd4d69205 Add missing underscore in bindswitch documentation
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 3f77591b00 Add docs for new IPC keyboard properties
6 years ago
Simon Ser 3f2518edc1 Add missing docs for xkb_switch_layout
6 years ago
Simon Ser 2bccb387d8 Add a new xkb_switch_layout command
6 years ago
Simon Ser 84e4061bf4 ipc: add xkb_layout_names and xkb_active_layout_index
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
Alex Maese 4d93b96b6e Unhide cursor on cursor activity after touch
6 years ago
Aidan Harris f17eae9043 Fix segfault with "xwayland false" (#4228)
6 years ago
Brian Ashworth f0f5de9a9e criteria: reset on semicolon separation
6 years ago
Daniel Eklöf 190546fd31 add seat sub command 'xcursor_theme'
6 years ago
Brian Ashworth 799f5a2cd5 cmd_hide_edge_borders: add missing arg count check
6 years ago
Rouven Czerwinski 5ff330e6bc desktop: output: fix use-after-free in destroy
6 years ago
Simon Ser 4105982169 Remove orbital gamma-control protocol
6 years ago
Kenny Levinsen 4925882920 Use parent get_root_coords in subsurfaces
6 years ago
Brian Ashworth c3532bc8a1 Add swaybar protocol documentation
6 years ago
Brian Ashworth 6afb392823 bindings: allow unlocked and locked bindings
6 years ago
Josef Gajdusek 2c6a10c4ba Provide current DPMS state in GET_OUTPUTS
6 years ago
Brian Ashworth de5cfa7232 input/switch: fix indentation of file
6 years ago
Josef Gajdusek 0e582f1a51 Update output manager config on all output events
6 years ago
Josef Gajdusek b3a5effef2 Implement wlr-output-management-v1
6 years ago
Brian Ashworth 00cffb8e20 commands/bar: fix mode and hidden_state at runtime
6 years ago
Alyssa Ross e4f1ffe601 commands/bar: improve error for invalid subcommand
6 years ago
Alyssa Ross 5fb5984e94 bar: fix segfault with missing or invalid bar id
6 years ago
Nomeji 578c1956ac Add infos to help using for_window to man 5
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
Brian Ashworth 8c8e6a6c90 config/output: fix typo in merge_id_on_name
6 years ago
Brian Ashworth 51c077798c Destroy swaybg client on reload
6 years ago
Simon Ser 32087ad77d Fix xdg-decoration unconfigured if set before first commit
6 years ago
Brian Ashworth c118618278 sway.5.scd: clarify workspace config commands
6 years ago
Brian Ashworth 13cbb3b7fc cmd_move: add support for output current
6 years ago
Alex Maese 3b3e0560be Fix a silly mistake
6 years ago
Alex Maese 5b454ac441 Don't send pointer motion when rebasing the cursor
6 years ago
Alex Maese 866a19b743 Clear pointer focus during move and resize seatops
6 years ago
Lane Surface 812651d53e Remove extra inclusion of stdio.h
6 years ago
Simon Ser 9aafef352b Don't submit too much damage
6 years ago
Konstantin Pospelov e6fbb3c6bb config: fix clang warning
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 d27a5e1cb0 bindsym: update the man page to include --to-code
6 years ago
Konstantin Pospelov 998de8fbc5 bindsym: change default keymap 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 462ad4ea83 cmd_move: respect workspace layout when inserting
6 years ago
Simon Ser b6e55064fe Update for wlroots#1660
6 years ago
Scott Anderson e3d94cb83e Fix uninitialized read for wlr_surface_send_frame
6 years ago
Brian Ashworth 59d9a991b4 ipc: fix criteria for emitting bar_state_update
6 years ago
Brian Ashworth 09595da0bc cmd_move: allow for all i3 syntax options
6 years ago
mwenzkowski 5e925f06e0 hide_edge_borders.c: add missing case for --i3
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
Ashkan Kiani aa4deef8a8 Fix the payload type returned by IPC
6 years ago
mwenzkowski 9ac2342a67 Don't apply hide_edge_borders to floating windows
6 years ago
mwenzkowski e9e1fbc501 view.c: refactor view_autoconfigure()
6 years ago
Ashkan Kiani 2f9eed659d Add documentation for rename workspace
6 years ago
Ranieri Althoff fd6903673b Send disabled output available modes on IPC get_outputs
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
Ashkan Kiani 913445e112 Fix potential null accesses
6 years ago
Ashkan Kiani 27f51360b7 Fix scratchpad logic for floating windows
6 years ago
Martin Michlmayr 090e101581 sway-input.5: add xkeyboard-config(7) to "see also"
6 years ago
Brian Ashworth bd4c3957ba cmd_focus: raise floating for `<criteria> focus`
6 years ago
Brian Ashworth 195226120f Honor output for xdg_toplevel_set_fullscreen
6 years ago
Jan Beich e0324fc88c config/output: unbreak on 32-bit architectures
6 years ago
Brian Ashworth 75e7bd24cc swaybg: one instance for all outputs
6 years ago
Brian Ashworth 0ad905f23c idle_inhibit: fix crash during view destruction
6 years ago
Brian Ashworth f0f20f96aa root_scratchpad_hide: fix crash when layer focused
6 years ago
Brian Ashworth 679c058fac scratchpad: set initial size
6 years ago
Brian Ashworth 0676ace97f floating: fix size of non-view containers
6 years ago
Brian Ashworth dd28e6a6d6 Fix xwayland configure request scratchpad crash
6 years ago
Ryan Dwyer 2cae0d5e3a Fix null pointer crash when doing tiling drag
6 years ago
Jan Pokorný bfdee1319f bindings: fix overwrite log argument mismatch
6 years ago
Ashkan Kiani 3a31889d7c Fix crash for floating command on scratchpad window
6 years ago
Brian Ashworth d9de5b8758 Implement inhibit_idle command
6 years ago
Philipe Goulet 8d2c982f3f Fix #3924
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 cd8b4ace92 fix opening a floating view on the NOOP output
6 years ago
Brian Ashworth 7d2076cbff criteria: fix __focused__ when no focus or unset
6 years ago
Brian Ashworth 8cd7f0171a cmd_mode: allow cmd_set to be a subcommand
6 years ago
Ryan Dwyer cdcc2a5bb5 Support focus <direction> for floating containers
6 years ago
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
6 years ago
Ryan Dwyer bfa20e65d8 Clean up focus follows mouse logic
6 years ago
Ryan Dwyer e9a476244d Remove debug tree
6 years ago
Ryan Dwyer 38bd60c4b3 Document the title_format command
6 years ago
Brian Ashworth 0327c999d7 config/output: handle wildcard in get_output_config
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 73605dac2a config/output: revamp identifier/name layering
6 years ago
Brian Ashworth 3106ef23a7 Fix output config retrieval for new outputs
6 years ago
minus 264e213c08 Fix quoting of commands passed to for_window
6 years ago
Brian Ashworth e687e120e0 output_cmd_background: validate colors
6 years ago
Brian Ashworth d8f74e4706 Set prev_workspace_name based off of focus
6 years ago
Brian Ashworth acdb4ed7a3 xwayland: handle floating configure request size
6 years ago
Brian Ashworth 52a61671e9 criteria: change workspace to support regex
6 years ago
Brian Ashworth 3330faded5 Handle seat_get_focused_workspace returning NULL
6 years ago
Brian Ashworth 1bab5a9553 get_deco_rect: fix floaters on tabbed/stacked ws
6 years ago
Ian Fan 055d662baa commands: allow tiled sticky containers to be moved
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
6 years ago
Ryan Dwyer 783b3d6b37 Fix click behaviour
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 20c4d242f6 detect_proprietary: use strncmp
6 years ago
Brian Ashworth a729bda17f fullscreen: init floating on disable without size
6 years ago
Ben Challenor 30931ad9e7
Make raw keysyms take precedence over translated
6 years ago
emersion 191305468c Fix crash in cmd_workspace when layer surface has focus
6 years ago
Drew DeVault 83b68b2154 Update language in sway.desktop & sway(1)
6 years ago
Brian Ashworth 9a75f0010f arrange: use int not size_t for title offsets
6 years ago
Brian Ashworth c02d2a0128 damage: remove output_damage_view
6 years ago
Brian Ashworth 7580718d12 output_damage_whole_container: damage subsurfaces
6 years ago
Jeff Peeler a73e8f1328 fix "directive argument is null" errors
6 years ago
minus 5fab8a2ad4 Fix crash when moving window to scratchpad
6 years ago
Brian Ashworth 7f700e08ac ipc: describe libinput device configuration
6 years ago
Brian Ashworth 0df76ed96a ipc: fix fullscreen deco_rect
6 years ago
Brian Ashworth 8ada2daba5 ipc: fix rect for stacked children
6 years ago
emersion 8b6bd106aa Fix container_parent_layout for scratchpad windows
6 years ago
Brian Ashworth 19df2e5906 ipc: change {,deco_}rect to match i3
6 years ago
emersion a6711740bc Set DISPLAY after initializing Xwayland
6 years ago
Ryan Dwyer bdac0df4f8 Allow concurrent clicks
6 years ago
Brian Ashworth a053823f39 sway.1.scd: document environment vars set by sway
6 years ago
Brian Ashworth 23f075e71d render_floating: skip fullscreen floaters
6 years ago
Noam Preil 1c329f2fe6 Fixes crash in spawn_swaybg (closes #3733)
6 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
6 years ago
hugbubby 37f0e1f1a2 Minor fix of code duplication.
6 years ago
emersion 88b283c557 seat: don't send button release when not pressed
6 years ago
Brian Ashworth 56217bfbc0 sway-ipc.7: clarify window_rect omits decorations
6 years ago
emersion 4431ae68fc Add output dpms to manpage
6 years ago
Drew DeVault 9f58b27d86
Merge pull request #3766 from RedSoxFan/sway-ipc-scdoc
6 years ago
Brian Ashworth f876009c7f Add sway-ipc.7.scd to document IPC protocol
6 years ago
Rouven Czerwinski d016848bce config: remove double assignement to result in get_output_config
6 years ago
Rouven Czerwinski 4e028dba47 cursor: intitialize sx and sy to zero
6 years ago
Rouven Czerwinski 35d610a43c cursor: remove unused node assignement
6 years ago
Brian Ashworth efe370ba12 execute_command: do not strip qoutes for cmd_mode
6 years ago
Carlo Abelli b00b0fb9d3 fix smart_borders description in manual
6 years ago
Connor E 9032be4f08 Allow 0 degree transform (normal transform).
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
minus 713883f04c Fix crash exiting fullscreened floating container
6 years ago
Caleb Bassi f84ac3f114 ipc: add missing fields to disabled outputs
6 years ago
emersion 656541bcc4
Update for swaywm/wlroots#1517
6 years ago
Brian Ashworth 9350a52c0e handle_seat_node_destroy: update seat->workspace
6 years ago
Brian Ashworth bcec866c6b handle_layer_shell_surface: do not use noop output
6 years ago
Rouven Czerwinski 3ead287064 view: set xdg_decoration->view to NULL, check decoration destroy
6 years ago
Brian Ashworth f078a1ccb8 input/cursor: allow whole-window bindings on ws
6 years ago
Ian Fan 923cd865f5
Merge pull request #3740 from Emantor/fix/ipc_allocs
6 years ago
Brian Ashworth 7252ca09a7 move scratchpad: hide visible scratchpad container
6 years ago
Rouven Czerwinski 16ddd00102 commands/move: reintroduce wrongly removed NULL check
6 years ago
Brian Ashworth d3d7956576 Handle NULL from output_get_active_workspace
6 years ago
Brian Ashworth 03dfdb1edb output_get_active_workspace: check workspaces length
6 years ago
Rouven Czerwinski aa4ccd845c run_as_ipc_client: free response after running the IPC command
6 years ago
Rouven Czerwinski a968a650e2 ipc-client: free payload after sending it over the socket
6 years ago
Brian Ashworth 546b976baa output_evacuate: call workspace_consider_destroy
6 years ago
emersion 444e00662c
Add wp-primary-selection-unstable-v1
6 years ago
Eric Drechsel 9bbf10bdfc layout cmd: always operate on parent container, like i3Fixes #3724
6 years ago
emersion b799a30962 Don't use SOCK_CLOEXEC
6 years ago
Drew DeVault c939453bea
Merge pull request #3714 from emersion/fix-drag-icon-map-listener
6 years ago
Yorick van Pelt fc397f52bb
Add 'visible' key to view json response
6 years ago
emersion 59f2056022
Fix drag icon map listener not removed
6 years ago
Drew DeVault a1e171080d
Merge pull request #3712 from RedSoxFan/fix-typo-seat-cursor
6 years ago
Brian Ashworth 041594d2ab Use container under cursor for mouse bindings
6 years ago
Brian Ashworth 73c8e63438 seat_cmd_cursor: fix typo in expected syntax
6 years ago
Brian Ashworth faf15ee733 workspace_next_name: fallback to next available number
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
Brian Ashworth f7f5b172a0 sway-input.5: document wildcard and identifier troubleshooting
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
Vincent Vanlaer cfacf85755 Check layout before getting pointer surface coords
6 years ago
Brian Ashworth 96de2b539c apply_output_config: dpms on before modeset
6 years ago
Brian Ashworth e8c472aee9 seatop_move_tiling: do not move to descendant
6 years ago
Brian Ashworth ab42874f71 seat: allow tree focus changes while layer focused
6 years ago
Brian Ashworth 9b8249c350 seatop_move_tiling: use tab/stack parent not self
6 years ago
Brian Ashworth d168d65f2c subsurface_get_root_coords: break on NULL
6 years ago
Brian Ashworth 1bccde68a4 cursor: relative-pointer-v1 time is usec
6 years ago
athrungithub 98b40d31c1 Don't remove from scratchpad on move to workspace
6 years ago
emersion 97c89b24b8
Rebase cursor when a layer surface maps
6 years ago
Brian Ashworth fb4f29289f workspace_get_initial_output: handle focused layer
6 years ago
Brian Ashworth 2540e8ea79 Abort early when XDG_RUNTIME_DIR is not set
6 years ago
Brian Ashworth d2c896ed84 fix misc memory leaks
6 years ago
Brian Ashworth a64a3ee6bb ipc: handle unnamed xkb_active_layout_name
6 years ago
Brian Ashworth 418c19fe52 view: remove pointer constraints on unmap
6 years ago
Brian Ashworth 3952d4f4f3 input/keyboard: respect solo repeat_{rate,delay}
6 years ago
Rouven Czerwinski 605e515a93 fix double free for mode toggle if bar was invisible
6 years ago
Brian Ashworth 995b6edab6 container_at_stacked: skip titles when zero pixels
6 years ago
Brian Ashworth f5190d1f79 bar_cmd_modifier: add support for none
6 years ago
Drew DeVault 82d7a70b03 Revert "Return false if config could not be loaded."
6 years ago
Drew DeVault 385cf330ae Revert "Restore CWD if returning early."
6 years ago
Brian Ashworth ec5da0ca5b seat_configure_tablet_tool: configure xcursor
6 years ago
Brian Ashworth 5a32a74b2d load_main_config: use given path, store realpath
6 years ago
Brian Ashworth ee56428b64 Clarify error for options and positional args
6 years ago
Connor E 921e42c6c0 Restore CWD if returning early.
6 years ago
Connor E 855368b67e Return false if config could not be loaded.
6 years ago
Daniel Eklöf d3b3eb019a ipc_has_event_listeners: fix inverted check of subscribed_events
6 years ago
Brian Ashworth c65057ef8b load_main_config: add realpath to config_chain
6 years ago
emersion 9b1905acf9 Fix close_popups for xdg-shell
6 years ago
Brian Ashworth 89afb761ba output_cmd_background: fix no file + valid mode
6 years ago
Connor E e1b8190d2c Initialize server so input manager is available.
6 years ago
Connor E 886789c197 If validating the config, do it as early as possible.
6 years ago
Drew DeVault fb73f84d0e
Merge pull request #3579 from RedSoxFan/fix-workspace-gaps-double-free
6 years ago
Brian Ashworth f2abe0570f cmd_workspace_gaps: fix double free on bad amount
6 years ago
Brian Ashworth 288e35f99e IPC_COMMAND: split on newline
6 years ago
emersion 478b128c26 Fix quote stripping
6 years ago
Brian Ashworth 1e65cc1ea6 execute_command: dont strip quotes for exec_always
6 years ago
Brian Ashworth 920c64f569 load_include_configs: fix wordexp fail condition
6 years ago
Drew DeVault a1a99421a1
Merge pull request #3562 from vilhalmer/focus_follows_mouse-workspace-last-inactive
6 years ago
Brian Ashworth 7299b9a6ca seat_cmd_cursor: do not create non-existing seat
6 years ago
vilhalmer f8a9117149
Fall back to wildcard in sway_cursor_constrain
6 years ago
vilhalmer 907595b10d
Skip constraining cursor if no seat config
6 years ago
vilhalmer da59ffa8a0
Skip wildcard seat config in destroy_removed_seats
6 years ago
vilhalmer a3332c70bf
Focus ws inactive node with focus_follows_mouse
6 years ago
Drew DeVault bbfe13a248
Merge pull request #3551 from c-edw/RevertDoubleFrees
6 years ago
Brian Ashworth f425e81fbe cmd_seat: allow - to be used as alias for current
6 years ago
Brian Ashworth 1bd7400c4d seat_cmd_attach: defer while reading
6 years ago
Connor E 2f2a887377 Revert "More frees."
6 years ago
Connor E 49b667272b Revert "Add some missing frees."
6 years ago
Drew DeVault de76c4e071
Merge pull request #3543 from emersion/relative-pointer-usec
6 years ago
Brian Ashworth ebe5399ed6 pointer_constraint: change to a seat subcommand
6 years ago
Drew DeVault 82461c4165 Updates for scdoc 1.8.1
6 years ago
Ashkan Kiani aee9942145 Add details on `--whole-window` for bindsym
6 years ago
emersion dde9fc19de
relative-pointer-v1: time is in usec, not msec
6 years ago
Drew DeVault 0c975af1fb Send pointer frames on tool events
6 years ago
Drew DeVault 4b87edeba4 Missed a spot in pointer constraints
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
athrungithub 5cb3d4769c criteria & scratchpad verify if show in another workspace (#3522)
6 years ago
Brian Ashworth f0fd6119cf Cleanup config reading failure error logs
6 years ago
Peter Grayson f49ad5977e Document cursor moving between adjacent outputs
6 years ago
Ryan Dwyer 8995694a2f Remove bad assertion in container_handle_fullscreen_reparent
6 years ago
emersion 7c72327ab5
Cleanup log_env
6 years ago
mwenzkowski 7c27d73b02 Check xdg_surface's role before using its toplevel
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
Drew DeVault 897250c65f
Merge pull request #3519 from emersion/pointer-frame
6 years ago
Drew DeVault cd22d555e8 Remove unnecessary underscores in man pages
6 years ago
emersion a452f8f822
Update for swaywm/wlroots#1503
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
6 years ago
Ian Fan 5d6f906bd7 Use sway_log_errno instead of strerror
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
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
Drew DeVault 71a37ad186
Merge pull request #3494 from ianyfan/commands
6 years ago
Brian Ashworth 8ce57f0a77 root_scratchpad_remove_container: do not show
6 years ago
Ian Fan de9a357de8 util.c: remove numlen function
6 years ago
Ian Fan ec0013b9f5 commands: allow setting floating on scratchpad containers
6 years ago
Ian Fan 34dea3d9d2 commands: allow tiled containers to be stickied
6 years ago
Ryan Dwyer 42f8a038c9 Remove assumption that noop output will be called NOOP-1
6 years ago
Ryan Dwyer 7f8ea60e71 Don't allow noop output to be configured
6 years ago
Ryan Dwyer e815e48cee Hide noop output in IPC
6 years ago
Ryan Dwyer 75e7ce82f5 Prevent noop output from being enabled
6 years ago
Ryan Dwyer 2301349ad5 Use noop output when there's no outputs connected
6 years ago
Brian Ashworth ab0248a545 seat_create: set initial focus for added seats
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
Drew DeVault cddb057343
Merge pull request #3480 from RedSoxFan/input-modes-improved-toggle
6 years ago
emersion e134da3023
Fix one remaining wlr_log call
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
Brian Ashworth 5c834d36e1 Log libinput_config_status errors
6 years ago
Brian Ashworth 91c1f44956 input_cmd_events: allow toggle modes to be listed
6 years ago
Drew DeVault a3d3504072
Merge pull request #3468 from emersion/fix-output-gain-crtc
6 years ago
Brian Ashworth afac6ced6e apply_output_config: remove output_i
6 years ago
emersion 0bf3252d8b
Fix re-enabling outputs gaining a CRTC
6 years ago
emersion 2ae2d09c4c Prevent crashes in handle_transform and handle_scale too
6 years ago
emersion 3b7a7462a2 Fix crash in cursor_rebase with multiple screens
6 years ago
Drew DeVault 639b66b676
Merge pull request #3452 from emersion/meson-features
6 years ago
emersion 6ff54d0640
Fix segfault in output_enable
6 years ago
Drew DeVault dd4a6586b2
Merge pull request #3457 from emersion/swaybg-no-escape
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion dc1eac0cf1 output: remove output_add_listeners
6 years ago
emersion d803861504
Don't escape swaybg arguments anymore
6 years ago
emersion bb2f007ad3
meson: remove rpath options
6 years ago
emersion 08a5b304e4
Use Meson feature options
6 years ago
emersion fe3f4882ed
Don't use sh when spawning swaybg
6 years ago
emersion 000b313985
swaybg: use output names instead of output indexes
6 years ago
Connor E de6f5b3453 Use static arrays where possible.
6 years ago
Connor E aa9d7d8ca1 Remove usage of VLAs.
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Brian Ashworth 247817f68c layer_shell: do not SIGABRT sway on zero outputs
6 years ago
Brian Ashworth 81e595e6e8 cmd_resize: allow resizing hidden scratchpad by px
6 years ago
Brian Ashworth 638b04b3e0 seatop_begin_down: raise floating
6 years ago
Brian Ashworth 686b853047 Do not send ipc_event_shutdown from ipc client
6 years ago
Rouven Czerwinski f7309778a7 cursor: send clear_focus on hide and enter event on unhide
6 years ago
Connor E 023c92423e Remove wlr_xdg_surface_send_close.
6 years ago
Brian Ashworth a68bc5f449 Do not damage view child when container is NULL
6 years ago
Brian Ashworth 3087942c35 Handle hidden scratchpad containers in commands
6 years ago
Ryan Dwyer 289130430f Fix invalid pointers when using resize grow width on first/last siblings
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
Ryan Dwyer b322432eff Use uint32_t where resize axis might contain a bitfield
6 years ago
Ryan Dwyer 22ac1c121a Replace resize_axis with wlr_edges
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 db1631b67d
Merge pull request #3342 from RedSoxFan/scroll-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 fc93cd20dc
Merge pull request #3397 from RedSoxFan/fix-swaybar-height
6 years ago
Drew DeVault 4eb0767414
Merge pull request #3398 from RedSoxFan/toggle-input-events
6 years ago
Drew DeVault 9ce4d53e78
Merge pull request #3408 from RedSoxFan/bar-padding
6 years ago
Brian Ashworth b43345a1a3 config: fix line number with continued lines
6 years ago
Brian Ashworth 39975ccfb5 config: do not reset pos when braces found
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 4e6bd53abf input_cmd_scroll_button: utilize mouse btn helpers
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
emersion 212baf2f75
Merge pull request #3400 from ianyfan/config-brace
6 years ago
Ryan Dwyer ed5aafd90b Refactor seat operations to use an interface
6 years ago
Ian Fan 00f8d0209f config.c: fix brace detection at end of file
6 years ago
Ian Fan 15ac580b28
Merge pull request #3341 from RedSoxFan/mouse-bindings-improved
6 years ago
emersion 9abac85888
Merge pull request #3399 from RedSoxFan/fix-output-destruction-segfaults
6 years ago
Brian Ashworth 8fd3f32c79 Fix segfaults on output destruction
6 years ago
Brian Ashworth 4dba42555f get_inputs: add libinput send events mode
6 years ago
Brian Ashworth 55e1d599a2 input_cmd_events: implement toggle
6 years ago
Brian Ashworth 124085eba9 swaybar: obey height if given
6 years ago
Brian Ashworth a8b3ae9284 cursor: allow scrolling tabs/stack on title border
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
Ryan Dwyer 14cab78612 Reset container dimensions when moving into workspace from direction
6 years ago
Jan Beich 0a4c4f3e52 Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
emersion d06782c5e7
Merge pull request #3386 from RedSoxFan/seat-reload-wait
6 years ago
emersion 8daea2bfec
Merge pull request #3390 from RedSoxFan/execute-seat
6 years ago
emersion 51bc466e2b
Merge pull request #3389 from RedSoxFan/swap-context-seat
6 years ago
Brian Ashworth fdc262d402 cmd_bind: pass the seat to execute_command
6 years ago
Brian Ashworth c4122e3975 cmd_swap: use handler context seat
6 years ago
Brian Ashworth 1feb2ce064 keyboard: update repeat timer before execution
6 years ago
Brian Ashworth f33969358c reload: apply seat cfgs after reading entire cfg
6 years ago
Drew DeVault da8f24de1d
Merge pull request #3385 from robertgzr/reset_output_mapping
6 years ago
Robert Günzler 145ac2c571 cursor: allow mapping to all outputs
6 years ago
emersion 140bc2dd5b
Merge pull request #3275 from ianyfan/remove-readline
6 years ago
emersion 353d9ed74f
Merge pull request #3337 from RedSoxFan/fix-seat-cmd-cursor
6 years ago
emersion 327236a7ab Add data-control-v1
6 years ago
Rouven Czerwinski cc858e605a seat: unhide the cursor if it is warped to focus
6 years ago
Rouven Czerwinski 0b18560952 view: use seat_consider_warp_to_focus in view_unmap
6 years ago
Rouven Czerwinski fde900861a cursor: move unhide and timeout retrieval into separate functions
6 years ago
Jan Beich 4a11d0e470 Use %z for printing size_t
6 years ago
Ryan Dwyer 0cc56ebe94 Fix urgency documentation
6 years ago
PlusMinus0 d87cded568 Fixed formulations.
6 years ago
PlusMinus0 1b341834a6 Update sway-output.5.scd
6 years ago
David96 ee50134634 Apply tiling_drag_threshold to all containers
6 years ago
Brian Ashworth 5bf4daf263 Implement tiling_drag_threshold
6 years ago
Mack Straight a96e86744f Fix fullscreen view rendering crash
6 years ago
Ian Fan bd35879e1c fixup! config.c: re-enable backslash continuation in config file
6 years ago
Ian Fan a9c5158a77 config.c: re-enable backslash continuation in config file
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 f33b5c5223 swaybar: do not create tray if hidden
6 years ago
Ian Fan 6b03c68775 swaybar: implement tray config
6 years ago
Brian Ashworth 4a3ada303b Apply implicit fallback seat config
6 years ago
John Chen 54d0f3a40e Set font options when computing text width.
6 years ago
emersion 72f8d0ff59
Undocument SWAY_CURSOR_THEME and SWAY_CURSOR_SIZE
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 6ec2983d96 seat_cmd_cursor: work on seat name provided
6 years ago
Brian Ashworth 3e8f548d1d Revamp seat configs
6 years ago
Brian Ashworth 4503ad2d19 sway-output(5): doc scaling consideration for pos
6 years ago
Brian Ashworth ae8937b11a Add failure reply on IPC_SYNC
6 years ago
Brian Ashworth 0dbf2673a1 Remove button from state on release during op
6 years ago
Drew DeVault c54258f323
Merge pull request #3346 from ermo/sway-bar_focused_statusline_colour-render-fix
6 years ago
Rune Morling 612702591c swaybar: fix focused_statusline color parsing.
6 years ago
Ryan Dwyer dd8d2dedf7 Fix crash when scratchpad contains split containers
6 years ago
NokiDev 9bf1b7a029 added fullscreen_mode to get_tree output
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 00d97cb195 sway(5): document tiling_drag
6 years ago
Brian Ashworth cf7c77e56a Fix wlr_box_intersection args for wlroots 1441
6 years ago
Drew DeVault 788b715776 Fixes per wlroots#1441
6 years ago
Aidan Harris 0d3cf36c85 IPC_SUBSCRIBE ensure request object is an array
6 years ago