4528 Commits (bac3ab552683516ee5a09632468cd8de529d311f)

Author SHA1 Message Date
Tobias Predel b31e97e55d root: free non_desktop_outputs list on root_destroy
2 years ago
Simon Ser ae2d14ceeb Convert to wlr_xwayland_surface_try_from_wlr_surface()
2 years ago
Simon Ser 40eb29e7c5 ipc: add support for output event
2 years ago
Alexander Courtis 2c0f68b7c6
Apply new adaptive sync value from wlr-output-management
2 years ago
Simon Ser 36f627d0fa Check return value of wlr_renderer_begin()
2 years ago
Tobias Bengfort a7b9f6fedc focus_on_window_activation: raise if floating
2 years ago
Simon Ser 6a3e265326 Fix pointer events for ext-session-lock surfaces
2 years ago
Simon Ser d5b69d5912 Fix indentation in surface_is_xdg_popup()
2 years ago
Simon Ser 284966fd57 Send wl_surface.enter for ext-session-lock surfaces
2 years ago
Kirill Primak 53c9a4a643 input/tablet: handle focusing NULL surface
2 years ago
Ronan Pigott 2f2cdd60de input: enable user xkb configs with cap_sys_nice
2 years ago
John Chadwick 3061999ec5 Improve tablet tool button handling.
2 years ago
Alexander Orzechowski 88c17ece3b warp_to_constraint_cursor_hint: Handle NULL view
2 years ago
Carl Smedstad 9425ce2fba Replace math functions that promote float to double
2 years ago
Carl Smedstad d8212243c9 Remove redundant return statements
2 years ago
Carl Smedstad 6ec57271b6 Make cmd_handler.command const
2 years ago
Carl Smedstad 9540591105 Add missing includes & remove duplicates
2 years ago
Carl Smedstad e3257e646c Remove duplicate declarations
2 years ago
Simon Ser 9e15e2fd4f tree/container: drop unnecessary check in container_get_siblings()
2 years ago
Simon Ser 0c23b0ec33 man: fix typo in output disable docs
2 years ago
Kenny Levinsen 1ade0ce753 seat: Set keyboard if seat keyboard is NULL
2 years ago
Ankit Pandey e3c63bf58d commands/move: Warp cursor after moving workspace to another output
2 years ago
Baltazár Radics fbf9191fb8 Fix input command order (rotation_angle)
2 years ago
Lucas Zampieri efd83cb8b9 Add libinput RotationAngle
2 years ago
Ronan Pigott 991d75904f criteria: be lenient on window_role and instance too
2 years ago
Aidan Dang c32a507303 Add `primary_selection` config option
2 years ago
Kenny Levinsen e1b268af98 seat: Avoid sending redundant keymaps on reload
2 years ago
Simon Zeni 6b3245ac77 sway/lock: handle mode in output commit handler
2 years ago
Simon Zeni aa03a8fcb5 sway/desktop/output: listen to output mode in commit handle
2 years ago
Simon Ser 3bd657c726 Chase breaking changes in wlroots!3903
2 years ago
Simon Ser e62299daa4 Make libinput backend optional
2 years ago
Simon Ser 46170580b2 Make session optional
2 years ago
Simon Ser e795ea6a0c Make DRM backend optional
2 years ago
Simon Ser 5b64e2fc31 Make GLES2 optional
2 years ago
Ronan Pigott 28fda4c0d3 launcher: export X startup ids and use them for workspace matching
2 years ago
Ronan Pigott 30ad4dc4a5 launcher: export xdga tokens and use them for workspace matching
2 years ago
Ronan Pigott bdeb9f9565 launcher: fudge the interface a bit
2 years ago
Ronan Pigott 66568508c0 launcher: initialize launcher_ctxs once on startup
2 years ago
Ronan Pigott 864b3a9a18 view: associate launch contexts with views
2 years ago
Ronan Pigott d75c9f9722 launcher: rename pid_workspace to launcher_ctx
2 years ago
Ronan Pigott bd66f4943d launcher: use xdga tokens
2 years ago
Ronan Pigott 3b49f2782e launcher: track workspaces by node
2 years ago
Ronan Pigott 1c4b94ae3c node: prettify node type names
2 years ago
Ronan Pigott eb5021ef99 root: move the workspace matching code to its own file
2 years ago
Simon Ser af8a5a8918 build: drop intermediate libraries for protocols
2 years ago
Simon Ser 7623292734 Update for wlroots!3814
2 years ago
Simon Ser 717e9ef581 ipc: add view content type
2 years ago
Simon Ser 907ca48a61 Listen to the output request_state event
2 years ago
Simon Ser 024c3e4428 input/seat: locally compute drag icon offset
2 years ago
Simon Zeni e1be46875d sway/server: specify wlr-layer-shell version on creation
2 years ago
Kirill Primak 85005b52fe output: set damage ring bounds to pixel values
2 years ago
Alexander Orzechowski 34933bb843 workspace_create: Don't allow NULL name
2 years ago
Baltazár Radics 5c239eaac5 container_get_siblings: handle NULL workspace
2 years ago
Simon Ser d945c8f519 lock: fix crash on output destroy
2 years ago
Kirill Primak 7862fa670e
Use wlr_damage_ring
2 years ago
Simon Ser dcd2076f38 Use wl_signal_emit_mutable()
2 years ago
Callum Andrew 3e19836f0e criteria: allow matching for NULL string criteria
2 years ago
Puck Meerburg e40eb338b9 criteria: allow matching on empty (NULL) titles
2 years ago
Puck Meerburg 0fdeb4ca84 tree: support formatting null titles
2 years ago
pudiva chip líquida 7cc8ab6d6c Support libinput's 1.21 new dwtp option
2 years ago
Alexander Orzechowski a61815d385 container_floating_set_default_size: Store workspace size box on the stack
2 years ago
Daniel De Graaf 8aa89dc277 Fix focus tracking when session lock is active
2 years ago
Daniel De Graaf 8f7bb145b7 Rework session lock keyboard focus handling
2 years ago
Yaroslav de la Peña Smirnov 9d99bb956f Fix keymap being NULL and segfaulting on dev add
2 years ago
Tudor Brindus 5e514e6474 input: tweak focus behavior to allow focusing parent containers
2 years ago
Simon Ser 9400bd963c Add support for ext-idle-notify-v1
2 years ago
cparm 99fd096d69 Avoid double free in criteria_destroy()
2 years ago
Simon Ser 7a6afc5199 Fix leaks in criteria_destroy()
2 years ago
Tudor Brindus c7bced9329 input: focus container when scrolling on titlebar
2 years ago
Tudor Brindus 09354db878 input: focus floating container when clicked on border
2 years ago
Ferdinand Schober 99acdb4e62 Use keyboard_state.focused_surface directly
2 years ago
Ferdinand Schober be7707874a use seat directly
2 years ago
Ferdinand Schober e2bb5799af check for NULL
2 years ago
Ferdinand Schober d5659948f1 allow pointer_constraints on layer_shell surfaces
2 years ago
Andri Yngvason b00b05f792 sway/commands/output: Add command for unplugging non-physical outputs
2 years ago
Simon Ser f70d1e1b95 ipc: expose mode picture aspect ratio
2 years ago
マリウス b0fc83485d man: Add XWayland information
2 years ago
Alex Maese 52f0e3a4d5 sway: add non-desktop outputs to json when running `swaymsg -t get_outputs`
2 years ago
Alex Maese c015db4a9f sway: Add non-desktop-output type
2 years ago
Filip Szczepański 1c368fbb5f Fix crash in xdg_activation_v1.c
2 years ago
Simon Ser 07bfeb2abc config/output: test adaptive sync
2 years ago
Simon Ser aaa6c4ac89 ipc: drop WLR_OUTPUT_ADAPTIVE_SYNC_UNKNOWN case
2 years ago
Baltazár Radics 6e023257e8 man: sway(5) move fixes
2 years ago
Martin Michlmayr ebf441b359 sway-output.5: improve display of parameter
2 years ago
Simon Ser 89d73beedb Enable single-pixel-buffer-v1
2 years ago
Baltazár Radics a5a44ba95b ipc: make get_deco_rect check config->hide_lone_tab
2 years ago
Kirill Primak 6b97c4fa71 input: chase delta_discrete semantics change
2 years ago
zkldi 8d8a21c9c3 fix: remove redundant empty statement in main.c
2 years ago
Simon Ser b69d637f7a Remove internal references to DPMS
2 years ago
Simon Ser 11e05c5711 ipc: add "power" to output reply
2 years ago
Hugo Osvaldo Barrera 80e386fd97 Reuse parsed PangoFontDescription
2 years ago
Hugo Osvaldo Barrera 75605491a5 Reject font values that are invalid for pango
2 years ago
Hugo Osvaldo Barrera 9e8866ae20 Avoid unecessary string copy
2 years ago
Thomas Jost a55472c6d8 Strip quotes in bindsym --input-device=...
2 years ago
Simon Ser 445bc2a943 Rename dpms output command to power
2 years ago
Simon Ser 122d8ce954 Remove access to wlr_input_device union
2 years ago
kraftwerk28 49cef51e6e Allocate enough space for `cmd_results->error`
2 years ago
Simon Ser 1c69d0e72f config/output: use wlr_output_commit_state
3 years ago
Kenny Levinsen e5728052b5 Refuse to start when SUID is detected
3 years ago
Simon Ser 251a648e2c ipc: remove chatty debug log messages
3 years ago
Simon Ser a5c2e9fee0 build: link with -pthread
3 years ago
Florian Franzen cab2189aa6 sway: add bindgesture command
3 years ago
Kirill Primak 6a59e38aeb xdg-shell: schedule a configure on maximize request
3 years ago
Kirill Primak 26a0e97634 chore: chase wlroots xdg-shell update
3 years ago
Simon Ser d0b9bf94a5 Handle NULL output make/model/serial
3 years ago
Simon Ser f0d57da315 De-duplicate IPC output descriptions
3 years ago
Daniel De Graaf 75b2d0b105 ext-session-lock: disable direct scan-out when locked
3 years ago
Rouven Czerwinski a3a82efbf6 realtime: request SCHED_RR using CAP_SYS_NICE
3 years ago
Rouven Czerwinski 3f600565e4 server: request xdg-shell v2
3 years ago
-k ffc603d451 man: Fix trailing spaces
3 years ago
-k 28941cee20 Add descriptions for `stacking` and `tabbed` layouts
3 years ago
Simon Ser 1e9be019b2 Replace strncpy with memcpy
3 years ago
Daniel De Graaf a7898637de Avoid inspecting a NULL view in seat_set_focus
3 years ago
Daniel De Graaf 519038a7e9 Implement ext-session-lock-v1
3 years ago
Victor Makarov 70d30ac72b
xkb_switch_layout: fix relative layout switches
3 years ago
kraftwerk28 acdb48a59c Chase wlroots X11 hints update
3 years ago
Thomas Hebb d726e50643 layer_shell: keep output non-NULL wherever possible
3 years ago
Daniel De Graaf cf413b9c0b Shuffle variables to satisfy -Werror=restrict
3 years ago
Daniel De Graaf 20181974c2 Avoid format-truncation warning
3 years ago
Manuel Stoeckl 8f036b6f78 sway/main: move constants off the stack
3 years ago
Leonardo Hernández Hernández 6c4c0387a2 sway/input: wlr_seat_keyboard() now takes wlr_keyboard
3 years ago
Leonardo Hernández Hernández ca016689a0 sway/input: fix bad position of wlr_drag
3 years ago
Simon Zeni 440d0bc22d sway/input: follow up wlroots input device events renaming
3 years ago
Simon Zeni 49b3ac9a2c sway/input/seat: take output name from specialized input device
3 years ago
Simon Zeni 0345148ea6 sway/input/cursor: take device mm size from wlr_tablet
3 years ago
Bill Li f167acce3a Updating criteria checking with PCRE2
3 years ago
ndren f614f35e73
Replace pcre with pcre2
3 years ago
Simon Ser 04676936e7 Remove WLR_SWITCH_STATE_TOGGLE usage
3 years ago
Nicolas Avrutin 9f98c38d3e commands/focus: fix segfault when no container is already focused.
3 years ago
Moon Sungjoon 3444ce7302 sway/input: destroy sway_switch properly
3 years ago
Alexander Gramiak d6f279902a sway/input: don't pass possibly invalid modifiers pointer
3 years ago
Thomas Hebb 0ee54a5243 Don't enter seatop_move_floating when fullscreen
3 years ago
Thomas Hebb b38b845c63 Remove some erroneous apostrophes in comments
3 years ago
Simon Zeni 85d1c98476 sway/input: use wlr_input_device from input device base
3 years ago
Simon Zeni f8990523b4 sway/commands: add missing wlr_keyboard interface include in xkb_switch_layout
3 years ago
Simon Ser f707f583e1 Remove all sprintf calls
3 years ago
Muhamed Hobi ac7892371c Fix snprintf compiler warning
3 years ago
Simon Ser 9a6687ee04 xdg-shell: use wlr_xdg_popup in sway_xdg_popup
3 years ago
Simon Ser f795aa1c95 xdg-shell: use wlr_xdg_toplevel in sway_view
3 years ago
Alexander Browne 36f5467993 Minor update to focus_on_window_activation
3 years ago
Kirill Primak 30d27b5996 Chase wlroots xdg-shell refactor
3 years ago
Kirill Primak ee7668c1f2 chore: chase wlr_output_layout_get_box() update
3 years ago
Tuomas Yrjölä 69b430201c xwayland: listen to `request_activate` event
3 years ago
Simon Ser 518e18a54b Use bools for CLI flags
3 years ago
Tudor Brindus 8ca2847b42 input/cursor: pass through pointer hold gestures
3 years ago
Ronan Pigott feea4b4410 cmd/swap: error on swapping a container with itself
3 years ago
Rouven Czerwinski e4909ab4a3 transaction: destroying nodes aren't hidden
3 years ago
Patrick Hilhorst b2ee964434 treat fullscreen windows as 'tiled' for commands/focus
3 years ago
Tudor Brindus 7d1ccafae5 input/cursor: treat swipe begin as idle activity too
3 years ago
Tudor Brindus fd53f80156 input/cursor: count pointer gestures as idle activity
3 years ago
Simon Ser 0ffd8178fe commands/focus: drop trailing whitespace
3 years ago
Simon Ser d6f8820a8b Upgrade for wlroots surface refactoring
3 years ago
Aleksei Bavshin aa443629b5 xdg-shell: use toplevel geometry to adjust the popup box
3 years ago
Kenny Levinsen e1db1f8218 Print deprecation notice when running SUID
3 years ago
Simon Ser e2b4c573d6 Destroy sub-surfaces with parent layer-shell surface
3 years ago
David96 1bf1d84b75 commands/move: Fix crash when pos_y is omitted
3 years ago
David Rosca f92329701b container: Fix crash when view unmaps + maps quickly
3 years ago
Thomas Hebb 921b0a8633 input/seat: unset has_focus when focus_stack becomes empty
3 years ago
Seth Barberee b8995ced8f [IPC] Add repeat delay/rate info to keyboard
3 years ago
Simon Ser 59aebaa5f9 Add cairo_image_surface_create error handling
3 years ago
Ronan Pigott 9ecbfe3665 output: emit node::destroy event
3 years ago
Ronan Pigott ebfe432ec3 output: change output::destroy to output::disable
3 years ago
RoastVeg f2b6d1ec29 Handle border width and height on minimum floating sizes
3 years ago
Simon Ser 4732325f59 Add support for linux-dmabuf surface hints
3 years ago
Alexander Orzechowski 8a3026337f view: Fix null dereference
3 years ago
Vsevolod f7725011ef
Add focused_tab_title
3 years ago
Simon Ser 3f58f12617 Fixup headless output names
3 years ago
Kirill Primak 03a29ed36d output: remove surface buffer damage check
3 years ago
Simon Zeni 0cd8efe0bb sway: replace noop_output by fallback_output
3 years ago
Simon Ser 729e18bff5 Replace wlr_headless_backend_create_with_renderer call
3 years ago
Aleksei Bavshin 94dc486f0e ipc: make `bar <bar_id> mode|hidden_state` behave as documented
3 years ago
Manuel Stoeckl a23cdbbea1 Add 'output render_bit_depth [8|10]' command
3 years ago
Simon Zeni 5865af75cf sway: create wlr_renderer and wlr_allocator
3 years ago
Kirill Primak cbecc5cbae container: fix surface_is_popup()
3 years ago
Eric Engestrom bb7bb3676d sway: allow IPCs on proprietary drivers
3 years ago
Simon Ser 38020d157d Bump RLIMIT_NOFILE
3 years ago
bR3iN 9969de9e00 Add smart_gaps inverse_outer command
3 years ago
Rasmus Moorats aaf68cf423 fix cursor input for layer-shell surfaces
3 years ago
siikamiika 21d2fdf74c view: add new container as a sibling of tiled view
3 years ago
siikamiika 197d0ab82f commands/focus: focus view inside container
3 years ago
David Rosca 215787e8b2 xwayland: Clear wlr_xwayland_surface in handle_destroy
3 years ago
Simon Ser b48cb6b0ec Remove --my-next-gpu-wont-be-nvidia
3 years ago
Birger Schacht ca8c6c3d18 Fix a couple of typos
3 years ago
Simon Ser 0c210a5e68 Handle present events with NULL timespec field
3 years ago
siikamiika f4db502d44 use node_is_view
3 years ago
Jari Ronkainen 624ffa4516 Improve built-in touchscreen detection
3 years ago
Tassilo Horn a47f8ef478 Fix compile after wlroots commit c3e54021f8bbf3ec1c1e5906459be0ae85f5fb8c
3 years ago
Bartel Sielski 8fa7b99859 idle_inhibit: Fix tree view after changes in commit 152a559e
3 years ago
Elyes HAOUAS 8aae6a8eab sway-input.5.scd: Fix spelling errors
3 years ago
Evgeniy Khramtsov ff468584ab commands: Remove unused code after 1d3681f521
3 years ago
Simon Ser c43f1fbf1c Chase wlr_xdg_surface breaking changes
3 years ago
Simon Ser 1bd8e3b469 Add support for DRM panel orientation
3 years ago
Kirill Primak 5fd5d6434e layer-shell: fix commit handler
3 years ago
Kirill Primak c11b5db4d6 layer-shell: check `committed` bitmask
3 years ago
Kirill Primak b7b3ef6dcf layer-shell: chase wlr layer surface refactor
3 years ago
Kirill Primak b1d41db6cf Revert "xdg_shell: schedule configure on maximize requests"
3 years ago
Kirill Primak eb03298b46 xdg-shell: chase wlr xdg toplevel refactor
3 years ago
Simon Ser 82d5f12914 Add -Dnoscanout debug option
3 years ago
Hugo Osvaldo Barrera a345180520 Drop hardcoded font metric values
3 years ago
Hugo Osvaldo Barrera c16b2a26ed Avoid unecessary font metric calculations
3 years ago