4699 Commits (7f1cd0b73ba3290f8ee5f81fdf7f1ffa4c642ea7)

Author SHA1 Message Date
Simon Ser bf2b79b284 desktop/xwayland: correctly handle association on o-r change
12 months ago
mrusme ae3acf26f8 Update sway.5.scd
12 months ago
Alexander Orzechowski f12023b1a2 Don't destroy output layout on exit
1 year ago
Sergei Trofimovich 2cd73a33c2 sway/config.c: use `memcpy()` for known buffer size
1 year ago
Kirill Primak 47e6a1164c xdg-shell: chase events update
1 year ago
Simon Ser 128b6253a9 Pass wl_display to wlr_output_layout
1 year ago
Simon Ser fd6d6f1d97 Add wlr/util/transform.h includes
1 year ago
llyyr a946b1aecf Chase wlroots!4440
1 year ago
Simon Ser 9d666a08e1 Fix reference to wlr_output_event_commit.committed
1 year ago
Simon Ser 072fa60cb4 Add support for security-context-v1
1 year ago
Simon Ser 5bdd608514 Apply gamma LUT when an output re-enabled
1 year ago
EBADBEEF 86f96a786b view: re-apply criteria when window gets unmapped
1 year ago
NemuiBanila c3ec141b34 seat: Fix cursor theme reload for tablet tool
1 year ago
Lina Banik f7a40cfa2f seat: Fix reloading cursor theme after change
1 year ago
Simon Ser 5c99b98805 input/input-manager: drop input_manager_configure_all_inputs
1 year ago
Simon Ser 7036769bea Only reconfigure input mappings on output change
1 year ago
Simon Ser caa92ddee8 input/seat: rename seat_apply_input_config
1 year ago
Simon Ser 01dcad80e1 input/seat: don't configure mappings for switches
1 year ago
Bill Li 6f6b82793d chase wlroots!4411
1 year ago
Kirill Primak f2425b4fd6 xdg-shell: send maximized if tiled isn't supported
1 year ago
Dudemanguy 647521244a xdg_shell: don't update wlr_toplevel if the container has no size yet
1 year ago
Kirill Primak 47263aca28 view: check if the buffer was uploaded on save
1 year ago
Tamino Bauknecht 0dfaf7ea63 config/output: Allow approximation of output refresh rate
1 year ago
Alexander Orzechowski 4326a26ad6 Chase wlroots!4331
1 year ago
iff 8a8fb76ec1 Update sway-input.5.scd
1 year ago
Simon Ser 7cf4e1d5c6 Drop support for KDE's idle protocol
1 year ago
Manuel Stoeckl 8edc48f6dd sway/server: Fix null pointer crash when Xwayland disabled
1 year ago
Johan Sköld d952ce403e i3 compat: Adding support for the `all` criteria
1 year ago
iff 3dd2f4a67f
commands/input/map_from_region: don't treat 0x prefix as hex identifier
1 year ago
Dudemanguy 3d5ae9813d xdg_shell: update wlr_toplevel size on client resizes
1 year ago
Dudemanguy 60a94b4916 Revert "view: update wlr_toplevel size on client resizes"
1 year ago
Dudemanguy bf44690ee8 view: update wlr_toplevel size on client resizes
1 year ago
Simon Ser 4a2210577c Hide xwayland_shell_v1 from regular clients
1 year ago
Kirill Primak a908651821 chore: chase wlroots xdg-surface role rework
1 year ago
Leonardo Hernández Hernández 363c57984d chase wlroots!4316
1 year ago
ookami eebbecc780 Rebase all cursors in handle_surface_map
1 year ago
Simon Ser f8ddd97e0e output: drop current_mode
1 year ago
Simon Ser 170598d71b desktop/output: fix output manager enabled state
1 year ago
Simon Ser d3626efe5e desktop/output: drop handle_mode()
1 year ago
Simon Ser d557b6876b desktop/output: drop logic to handle backend-applied mode
1 year ago
Simon Ser 6bd11ad0df Add support for cursor-shape-v1
1 year ago
bretello dc634c4a13 fix crash when resizing tiled scratchpad windows
1 year ago
Simon Ser ee4637b086 Deprecate seat idle_wake
1 year ago
Artturin 9107907969 chase wlroots 'presentation-time: add separate helper for zero-copy '
1 year ago
nukoseer 6c234d013a Calculate tiled resize amount relative to parent container
1 year ago
Simon Ser fc16fb6549 Send wl_surface.preferred_buffer_scale
1 year ago
Mark Bolhuis 20c91335f6 input: Move wlr_pointer_gestures_v1 to sway_input_manager
1 year ago
Simon Ser 974a8629a8 Use "default" XCursor instead of "left_ptr"
1 year ago
Simon Ser b762f455d9 idle-inhibit-v1: simplify with server global
1 year ago
Simon Ser 5411ed4ef0 Use wlr_cursor_unset_image()
1 year ago
Simon Ser 6f1a3b6652 Use wlr_cursor_set_xcursor()
1 year ago
Alexander Orzechowski 876687000d render: Use wlroots scale filter
1 year ago
Cezary Drożak c08762901e input/libinput: add scroll_button_lock method
1 year ago
Rouven Czerwinski 8b4b65d665 gamma_control_v1: handle destroyed output
1 year ago
Alexander Orzechowski 59c27c94d3 gamma_control_v1: Reset dirty flag
1 year ago
33KK be14cd96cd
Fix `bindsym --to-code` not respecting input configs
1 year ago
Shaked Flur 6a1c176d14
man: add --inhibited and --no-repeat to bindsym and bindcode usage
1 year ago
Simon Ser 65b1a6964c desktop/output: fix damage bitfield in wlr_output_state
1 year ago
Simon Ser f3b8c9feee desktop/output: use detached output state for page-flips
1 year ago
Simon Ser b1b3563d54 Handle gamma-control-v1 set_gamma events
1 year ago
Erik Reider 913a7679cb Add support for wlr-layer-shell ON_DEMAND keyboard interactivity
1 year ago
Artturin 7ab8cb2ee6 chase wlroots wlr_renderer_begin_buffer_pass change
1 year ago
Kirill Primak b5cb49bce9 xwayland: fix mapped state check in OR handlers
2 years ago
Kirill Primak c001a57e8b lock: listen to the correct map signal
2 years ago
Kirill Primak c9e1dab318 chore: chase wlroots map logic unification
2 years ago
Kirill Primak 72881b5d12 xwayland: don't rely on event source being data
2 years ago
Erik Reider 48d6eda3cb Fix layer old damage not being offset by the monitor layout coords
2 years ago
hrdl 01b0c11394 seatop_down: Call seatop_begin_default after sending touch events
2 years ago
Simon Ser 19cc36accc render: fix titlebar texture clipping
2 years ago
Kenny Levinsen 0a951517ae render: Clear using wlr_output dimensions
2 years ago
Kenny Levinsen 393c29fc59 render: Apply clip to rendered texture correctly
2 years ago
hrdl 3cd7c71780 handle_touch_cancel: fix begin default
2 years ago
hrdl e8f7551e46 Add support for touch cancel events
2 years ago
Alexander Orzechowski db7638a0e5 Don't crash if there is no damage during render
2 years ago
Alexander Orzechowski 029b99b482 render: Use wlr_render_pass
2 years ago
Alexander Orzechowski 07cdf6ccd0 render: Don't pass matrix into render_texture
2 years ago
Alexander Orzechowski d5cc474aef render: pass rendering state together in a struct
2 years ago
Alexander Orzechowski 33cfdbe886 xdg_shell: Fix crash if popup generates while toplevel is in the scratchpad
2 years ago
Simon Ser 08c1946d71 Use format_str() throughout
2 years ago
Simon Ser a7b50f6c9c commands: add printf attribute to cmd_results_new()
2 years ago
Simon Ser d6915f6428 commands/floating_minmax_size: fix error strings
2 years ago
Simon Ser 4118c49349 Use output_match_name_or_id() in workspace functions
2 years ago
Simon Ser fcec581748 Use output_match_name_or_id() in apply_output_config_to_outputs()
2 years ago
Simon Ser 04904ab9a5 Use all_output_by_name_or_id() in merge_id_on_name()
2 years ago
Simon Ser 8d95638df6 Introduce output_match_name_or_id()
2 years ago
Elyes Haouas 63f9bdf001 Fix old style function definitions
2 years ago
Simon Ser ab4f460597 Set output damage during direct scan-out
2 years ago
Simon Ser 777df22377 Skip direct scan-out commit when damage is empty
2 years ago
Simon Ser 5e847fe3c8 Pass version to wlr_compositor_create()
2 years ago
Alexander Orzechowski dadf3e9b78
Chase wlroots!4067
2 years ago
Simon Ser e8fb7f53b8 Remove duplicate wlr_damage_ring_set_bounds() call
2 years ago
Erik Reider fa7b686e61
Fix damage-ring bounds not being set when unplugging -> plugging in monitor
2 years ago
Simon Ser dee032d0a0 ipc: add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entry
2 years ago
Simon Ser 4f6e559dec man: deprecate seat cursor move/set/press/release
2 years ago
Erik Reider ac1ed638e9 Init the damage_ring bounds on output creation
2 years ago
Ankit Pandey f21090f978 root: Set inactive focus when scratchpad is moved to new workspace
2 years ago
Ankit Pandey 90c2d631e2 root: Try to preserve relative positions of floating containers
2 years ago
Stanislav Ochotnický ebeed7e303 man: add warning for hide_cursor configuration
2 years ago
novenary b28e1b0d3c Disable direct scanout for surfaces with popups
2 years ago
llyyr b757ef94ef sway{,bar}: use default font hint style
2 years ago
Robin Jarry 9498e4d261 Allow windows in scratchpad to set the urgent flag
2 years ago
Simon Ser 16b0afd433 Check for empty damage before attaching render buffer
2 years ago
Simon Ser c2ccc0c9d4 Move output commit out of output_render()
2 years ago
Simon Ser d6cb4fa8de Constify pixman_region32_t for rendering functions
2 years ago
Simon Ser 423459723b Adjust scale for fractional-scale-v1
2 years ago
Stacy Harper 4666d1785b Implement seatop_touch
2 years ago
Simon Ser 7d2e4a5106 layer-shell: enter output before surface is mapped
2 years ago
Simon Ser 7a6c7d60d5 Update surface fractional scale on output change
2 years ago
Ronan Pigott 633d409b88 container: rehome the container_swap function into container.c
2 years ago
Daniel Hill 788118f194 Fix map_to_output * turning off device
2 years ago
Simon Ser 9162b536f6 Add support for fractional-scale-v1
2 years ago
Simon Ser 1cab17ada2 Introduce surface_{enter,leave}_output()
2 years ago
Łukasz Adamczak 8e4b659578 Clarify documentation for window_rect
2 years ago
Łukasz Adamczak fadfbe8dba Correct window_rect.y with hide_edge_borders
2 years ago
Ronan Pigott 1b27e8c8fd xdg-activation: fix urgency when the client does not specify a seat
2 years ago
Simon Ser b4ce0a30c1 Use wlr_linux_dmabuf_feedback_v1_init_with_options()
2 years ago
Baltazár Radics 7d0351b411 ipc: add ability to subscribe to output event
2 years ago
Ronan Pigott 4cda9ee3a3 launcher: support external launcher tokens
2 years ago
Ronan Pigott dbc1eec850 launcher: make launcher context seat aware
2 years ago
Ronan Pigott 842609da64 view: make request_activate take a seat
2 years ago
Simon Ser 9959e6b8dc Convert to *_try_from_wlr_surface()
2 years ago
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
2 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