3900 Commits (6f7b548589feead7c3c3ae8d619f23770fd65fb0)

Author SHA1 Message Date
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