4505 Commits (7ad8c80bfe020f2689b049306f5c0a6fe6ff622d)

Author SHA1 Message Date
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
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
aajonusonline 49da73d4ac sway-ipc.7.scd: fix typo
3 years ago
Simon Ser 3f7a04df22 Rename pango_printf to render_text
3 years ago
Simon Zeni 30c28ff8f7 introduce wlr_drm_lease_v1
3 years ago
Kirill Primak e76e13ef85 view: fix child position calc
3 years ago
Kirill Primak 91d6d00414 render: fix -Ddamage=rerender
3 years ago
Kirill Primak ae80bdedf9 surface: chase wlr subsurface list/link change
3 years ago
Kirill Primak 72b0491ca0 view: fix saved buffer order
3 years ago
Daniel De Graaf 69a7b9215e Fix overly-wide mark textures
3 years ago
Ronan Pigott 00b10a93f1 commands: update split none command for a047b5ee4
3 years ago
Ronan Pigott de3c290427 command: implement split none
3 years ago
Simon Plakolb 4baf845a3a seatop_down: End if surface is destroyed or other seatop starts
3 years ago
Simon Plakolb 9e58425cb3 input: Use seatop_down on layer surface click
3 years ago
David Rosca 57d6f6f19e Add `output modeline` command
3 years ago
Tudor Brindus daaec72ac0 desktop/xwayland: restack surface upon activation
3 years ago
Hugo Osvaldo Barrera 9acb015755 Deduplicate code for rendering titlebar texts
3 years ago
Hugo Osvaldo Barrera 62d90a8e95 Use fixed titlebar heights
3 years ago
grumpey bb3fd0abc5 Update Pango font description URL in sway.5.scd
3 years ago
quinno d0c5c5a60b Fix typo in sway.5.scd
3 years ago
Simon Ser c9060bcc12 layer-shell: replace close() with destroy()
3 years ago
Eric Engestrom b17cf58a4d cmd_bind_or_unbind_switch: fix copy/paste typo error message
3 years ago
Simon Ser 4cdc4ac63a Fallback to other output modes if preferred mode fails
3 years ago
Ronan Pigott f67ed6772c layer_shell: damage previous area when a surface shrinks
3 years ago
Dudemanguy acf946fe4c xdg-decoration: let floating clients set borders
3 years ago
David Rosca d0fe721fbb seatop_down: Change type of sx, sy to double in begin_seatop_down
3 years ago
frogtile f4cda5157e
man: update Pango font description URL
3 years ago
Simon Ser 2e03a61262 Fix wl_pointer.frame not sent on touch emulation
3 years ago
Tobias Stoeckmann e7f4e50da0 Fix crash when starting without HOME
3 years ago
bR3iN c9458b9fb1 Add `gaps <type> <scope> toggle <px>` command
3 years ago
Simon Ser 7114030159 Add support for touch frame events
3 years ago
Simon Ser 4832fc937f Update wlr_box includes
3 years ago
Dudemanguy c41dc33590 container: ignore borders in fullscreen windows
3 years ago
Simon Ser 22226560e3 tree/container: fix indentation
3 years ago
Kenny Levinsen 80315217f7 input: Move get_current_time_msec in from util
3 years ago
Ragnar Groot Koerkamp c0c4e260c4 Revert "Add workspace {prev,next}_on_output --create"
3 years ago
novenary dbc326ba84 Don't apply hide_edge_borders to any floating container
3 years ago
Ragnar Groot Koerkamp d5c71231e5 Only call workspace_auto_back_and_forth when needed
3 years ago
Ragnar Groot Koerkamp 3080f1b9ce Move auto_back_and_forth logic out of workspace_switch
3 years ago
Ragnar Groot Koerkamp 771cff23fb Fix #6299 Disable auto_back_and_forth for next_on_output
3 years ago
Rahiel Kasim 75a4122f7a fix typo in sway-output.5.scd
3 years ago
Daniel Eklöf 3bf99198a6 sway: restore SIGPIPE handler before exec:ing swaybar
4 years ago
Daniel Eklöf 1dd6df6a5d sway: commands: exec: restore SIGPIPE before exec:ing
4 years ago
Daniel Otero b997147284 config: Fix swaybar pango_markup inconsistency
4 years ago
Bill Doyle cad6e59b93 Only defer seat attachment during initial startup
4 years ago
Simon Ser 3162766eef Iterate over subsurfaces below the parent surface
4 years ago
Simon Ser 9755684fb0 Implement xdg-activation-v1
4 years ago
Tobias Langendorf 12e223e797 remove usage of `wlr_texture_get_size`
4 years ago
Ronan Pigott 5a73dc1bc2 view: commit transactions for foreign toplevel requests
4 years ago
Manuel Stoeckl 31b4b96ebf commands/exec: stop truncating >4095-byte commands
4 years ago
Ronan Pigott 137dbf3e6d cmd_fullscreen: ignore fullscreen request on workspaces
4 years ago
Issam E. Maghni d45623c2db cairo: Replace <cairo/cairo.h> by <cairo.h>
4 years ago
tomKPZ f9a5c18c93 Add tab dragging functionality
4 years ago
Erik Reider d65e67face Added scroll_factor input variable to ipc output
4 years ago
Bartłomiej Burdukiewicz 7c74f01f0a main: removed vc4 detection code.
4 years ago
Rouven Czerwinski 30e400c0a3 view: handle case where map_ws is NULL
4 years ago
Ronan Pigott a6dc829ed0 xdg-shell: ignore unecessary fullscreen request ouput hints
4 years ago
Ronan Pigott c12169953a workspace: reap empty parents when adding tiles
4 years ago
Simon Ser fd36289faa Remove support for arbitrary rotations
4 years ago
Kenny Levinsen 4e6f515253 desktop/render: Pass explicit clip box to render
4 years ago
Kenny Levinsen 7ec9d07fc5 Remove usage of surface->sx|sy
4 years ago
Tudor Brindus 80128d23ba tree/view: don't give focus to views mapped under fullscreen views
4 years ago
Dominique Martinet 8529141150 view_destroy: fix use-after-free with subsurface_destroy
4 years ago
Simon Ser 31a2252e83 commands/exec_always: log error on execlp failure
4 years ago
Simon Ser 7beeb9e61b Use execlp("sh") instead of execl("/bin/sh")
4 years ago
Simon Ser e3e99d961d Avoid creating zero-sized textures for marks
4 years ago
Simon Ser 3173a4f353 Use cairo_image_surface_get_stride instead of guessing it
4 years ago
Simon Ser 6327f1b361 Avoid creating zero-sized textures for titlebars
4 years ago
Michael Weiser 730efbc89c Prevent use-after-free on first bar subcommand error
4 years ago
Ronan Pigott ecfd687977 cmd_fullscreen: allow fullscreen on fullscreen split containers
4 years ago
ash lea eb9e77f4ea container: don't set fullscreen on children
4 years ago
fwsmit 8106f01c17 desktop/layer_shell: fix centering for opposing anchors
4 years ago
Elyes HAOUAS b40c6448e6 desktop/layer_shell.c: Fix misspelled "exclusive"
4 years ago
Simon Ser 78fc9d0d2d Log wlroots version on startup
4 years ago
Ronan Pigott a558866f42 container: retain focus position on floating enable
4 years ago
Simon Ser 1a72049c04 Remove WLR_HAS_XDG_FOREIGN checks
4 years ago
Simon Ser 86b08e3257 desktop/render: remove unused wlr_gles2_texture_attribs
4 years ago
Ronan Pigott 62fbf33ce2 output: damage whole output when exiting scanout
4 years ago
columbarius 1d62d6bfa0
config: allow whitespaces in config path
4 years ago
Ivan Fedotov 346f5a9d14 Add toggle logic inside DPMS handler
4 years ago
Kenny Levinsen d79ea9a0db view: subsurface NULL check in view_from_wlr_surface
4 years ago
Kenny Levinsen 152a559e30 idle_inhibit: Store wlr inhibitor instead of view
4 years ago
Kenny Levinsen 70842f4e14 view: Handle NULL role object when role is set
4 years ago
xdavidwu e5913f8106
Implement input method keyboard grab
4 years ago
Simon Ser 585abdb357 xwayland: simplify override-redirect focus restoration
4 years ago
Vyivel ba6c0eb18b output: simplify layer surface iteration
4 years ago
Kenny Levinsen 2e06403548 container: Add view_container_content_at
4 years ago
Kenny Levinsen d358aab8d9 container: Limit tiled focus to container geometry
4 years ago
Kenny Levinsen a6544f5a64 render: Clip surfaces to container bounds
4 years ago
ftilde 1afedcb94c Fix for_window criteria and mouse button bindings
4 years ago
lbonn c6e7cf1ae5 focus: beyond fullscreen when focused explicitly
4 years ago
Simon Ser eea9c6331f Automatically map built-in touchscreens/tablets to built-in panels
4 years ago
Simon Ser 641b8719ad man: document `input XXX map_to_output *`
4 years ago
Quantum e01a3c85f6 render: handle containers without output when rendering titles
4 years ago
Tadeo Kondrak bb41b7b814 output: Reconfigure xcursor when applying output config
4 years ago
Tadeo Kondrak de471e67d3 build: Add dependency on libdrm
4 years ago
Kenny Levinsen 95901d906a shells: Update comment about size change on commit
4 years ago
Kenny Levinsen 1989b18ff2 transaction: Remove unused ready_immediately
4 years ago
Kenny Levinsen 35b9a41720 transaction: Note if instructions are server requests
4 years ago
Simon Ser 66343839b1 Fix wl_shm_format passed to wlr_texture_from_pixels
4 years ago
Dimitris Triantafyllidis aac1582ea9 Fix #5643, #5064: rounding issues in floating-point -> integer conversions
4 years ago
Kenny Levinsen 1a6471be17 view: Set parent for view_child subsurfaces on init
4 years ago
Kenny Levinsen 79e43b19d7 view: Mark subchildren as unmapped in view_child_destroy
4 years ago
Kenny Levinsen e7af5b6309 view: Recursively check mapped of view_child tree
4 years ago
Kenny Levinsen 2c917a8c34 container: Add container_is_current_floating
4 years ago
Quantum e0a94bee8d render: scale titlebars correctly when straddling outputs
4 years ago
Tadeo Kondrak f58f054c87 Fix incorrect damage being applied on popups
4 years ago
Kenny Levinsen 35342d89a9 render: Use current instead of pending fullscreen
4 years ago
Kenny Levinsen a047b5ee4a container: Move pending state to state struct
4 years ago
David96 28cadf5580 Add missing transaction commits to seatop_default
4 years ago
Tadeo Kondrak 42cbaf278c text_input: Add support for focusing layer-shell surfaces
4 years ago
Kenny Levinsen c8bf84c82d transactions: Amend pending transactions
4 years ago
Jan Palus b944735b47 Align ordering of core node properties with i3
4 years ago
Kenny Levinsen 37d7bc6998 transaction: Only wait for ack from visible views
4 years ago
Tadeo Kondrak c88f7ad1d0 text_input: Only send surrounding_text and content_type if supported
4 years ago
Tadeo Kondrak b0e8f4ade2 text_input: Ignore text_input disable from unfocused windows
4 years ago
Kenny Levinsen 31a01bb80d input: Commit transactions in seatop_default
4 years ago
Kenny Levinsen b5b628cb41 input: Only commit transactions when necessary
4 years ago
Kenny Levinsen 63a6635163 view: Read geometry directly in view_update_size
4 years ago
Kenny Levinsen 82b1019658 shells: Align geometry change commit handling
4 years ago
Kenny Levinsen 90fa6953ea shells: Only center tiled views on size change
4 years ago
Kenny Levinsen 50205ade9d transaction: Move centering to view_center_surface
4 years ago
Kenny Levinsen cf1e3be228 view: Save surface x and y on saved buffers
4 years ago
Manuel Stoeckl 169b90f90b Make command line option lists const
4 years ago
Manuel Stoeckl cb3c727632 Declare all struct cmd_handler arrays const
4 years ago