4388 Commits (1cab17ada243385798b3340f88144f64ac33ee63)

Author SHA1 Message Date
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
Aleksei Bavshin 89b4bc4bc7 xdg-foreign: add v1 and v2 implementations
4 years ago
Konstantin Pospelov 8b7008a296 Check the output state for recorded workspaces
4 years ago
Manuel Stoeckl f8c6fc1944 desktop/layer_shell: Fix allocation type mismatch
4 years ago
Kenny Levinsen 4d43f1dd99 desktop/output: Disable head if mode is NULL
4 years ago
fwsmit 241ce2af83 Implement foreign toplevel fullscreen output hints
4 years ago
BrassyPanache 62ec528c8c Adhere to ICCCM focus specification
4 years ago
Simon Ser 38571e6a0c Log when config file is not found
4 years ago
Simon Ser 43f82078cf Raise verbosity of error message in load_main_config
4 years ago
SpizzyCoder 7cf25d3b98 Changed fprintf(stdout,...) to printf(...) for more readable code
4 years ago
Ronan Pigott 915ba01ff1 config/output: correct refresh rate rounding error
4 years ago
Simon Ser 1c3cfd3bac Rename output_layer_for_each_surface_{toplevel,popup}
4 years ago
Simon Ser 5438cc158a Switch to wlr_xdg_surface_for_each_popup_surface
4 years ago
Simon Ser 661cdac2d6
desktop/xwayland: use index constants for atom array
4 years ago
Simon Ser cbd82b4117
man: update maintainer
4 years ago
Ronan Pigott d1bf3b8a86 cmd_move: update container representation in sibling swaps
4 years ago
Andri Yngvason 9ef5cc03f1 input/seat: Reset command handler context in seat_destroy()
4 years ago
Andri Yngvason e11bc058ac input/seat: Clean up focus_stack in seat_destroy()
4 years ago
Andri Yngvason 98eece53ad input: Clean up input_method_relay in seat_destoy()
4 years ago
Simon Ser 53f5197c26 Remove create_renderer_func argument
4 years ago
Ronan Pigott d1c4ed1867 container: set fullscreen mode before attempting focus
4 years ago
Ronan Pigott 5f1fe33d36 workspace: rework workspace prev|next like i3
4 years ago
Ronan Pigott 89ffeaae49 commands/move: reset geometry of promoted containers
4 years ago
Ronan Pigott 432c4df6e7 commands/move: squash workspace after directional con move
4 years ago
Ronan Pigott 8eb0c54693 introduce workspace_squash
4 years ago
Ronan Pigott e95c299f0a commands/move: rework container_move_in_direction
4 years ago
Ronan Pigott ece6a1d408 Change workspace_layout to match i3 behavior
4 years ago
Ronan Pigott b4850876dc Revert "commands/move: maintain workspace_layout when moving"
4 years ago
Tudor Brindus 971aa90ccc commands/move: don't flatten on move; reap empty former parent instead
4 years ago
Ronan Pigott d54c8e885b commands/layout: don't change the layout of workspaces with children
4 years ago
Ronan Pigott 2478f2f010 container: don't split single children
4 years ago
Simon Ser 33b64667ae Test output before direct scan-out
4 years ago
Simon Ser a68c6a00ca Route wlroots logs into Sway logging infrastructure
4 years ago
Simon Ser a1591c23d2
Handle secondary headless backend failures
4 years ago
Isaac Freund 5ad3990a6c Drop gtk-primary-selection support
4 years ago
Vlad Pănăzan 71725a8eae Add layer shell subsurfaces
4 years ago
Tudor Brindus cc2c0d5966 input/cursor: unhide cursor on synthetic input
4 years ago
Paul Riou b5cc11b226 criteria: fix crash when comparing NULL properties
4 years ago
Ronan Pigott 32b93ef6ea xdg_shell: allow views to change geometry anytime
4 years ago
Rex Hackbro f1afef5533 document parse_error
4 years ago
Simon Ser 83389da583
Log which output is using direct scan-out
4 years ago
Brian Ashworth 9d6787d10d input/keyboard: fix Group# bindings for keyboard groups
4 years ago
Tudor Brindus 07042486c3 tree/container: introduce `container_is_sticky[_or_child]` functions
4 years ago
Simon Ser a56098a24e
Add missing includes for wlr_input_device.h
4 years ago
Simon Ser bb342ac5e6
Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Tudor Brindus 0df5753aed input/seatop_default: consider fullscreen views to have no edges
4 years ago
Tudor Brindus c523aa623b input: fully change focus when scrolling tabs/stacks
4 years ago
Tudor Brindus 60d95414d4 commands/focus: force container warp when fulfilling `focus mode_toggle`
4 years ago
Tudor Brindus 8c12e71a66 input: remove motion deltas from seatop callbacks
4 years ago
Tamir Zahavi-Brunner 96578aa91e hide_cursor: Add an option to hide when typing
4 years ago
mwenzkowski 4799cb0960 output: Revert implementation of evacuate_sticky()
4 years ago
Dimitris Triantafyllidis 39328ca4e4 In container_split, set a floating container's view to tiled
4 years ago
mwenzkowski 32788a93f2 output: evacuate sticky containers only if new output has a workspace
4 years ago
Dimitris Triantafyllidis 0cb9282aee Smart borders fix: always show borders for floating containers
4 years ago
mwenzkowski 13a67da614 container: Fix NULL pointer dereference
4 years ago
Ronan Pigott d06c1ac1e9 commands/move: fix crash when moving sphsc child
4 years ago
Daniel De Graaf 1be66c98f2 commands/resize: don't consider 1px resizes to be invalid
4 years ago
Ronan Pigott 9e272a7986 tiling_resize: abandon resize if a sibling con dies
4 years ago
Tudor Brindus cc8d318aa1 transaction: make transaction collapsing smarter with > 2 views
4 years ago
Tudor Brindus 8355884fbd transaction: validate X transaction completions by geometry, not size
4 years ago
Tudor Brindus 5bd6a5ce3f transaction: don't reconfigure X views unless integral coords changed
4 years ago
Ronan Pigott 33affb33d2 tiling_drag: emit window move ipc events
4 years ago
Tudor Brindus 181798c2fe xwayland: listen to `set_geometry` event
4 years ago
Ronan Pigott 5bcbc0b4a9 seat: use default output mapping if there is no input config
4 years ago
Tudor Brindus ed247c031c input/tablet: add tool_mode option to set tablet tools as relative input
4 years ago
Tudor Brindus 136add4e12 input/cursor: default tablet lens tool to relative motion
4 years ago
Tarmack 989123a2a5 Add support for workspace_min_width bar option.
4 years ago
Tobias Langendorf 657587964e xwayland: support views that change override-redirect status
4 years ago
Tudor Brindus 392d4808c3 commands/move: fix single-split escaping on move
4 years ago
Tudor Brindus bc239b2f6b desktop/render: show indicators for top-level split
4 years ago
David96 c150177a94 Make focus_follows_mouse work when hovering a layer-shell surface on another output
4 years ago
John Mako 4537c8b3d4 check parent surface before it is destroyed
4 years ago
Rouven Czerwinski 41999d7c9f cursor: update hide timer during config apply
4 years ago
Geoffrey Casper 65a751a21f server: Avoid using "wayland-0" as WAYLAND_DISPLAY
4 years ago
Rouven Czerwinski 299a159add cursor: arm cursor hide timer immediately
4 years ago
Tudor Brindus 2efecc14ef input/pointer: update cursor activity after updating button counts
4 years ago
Rouven Czerwinski afa890e8e9 input/cursor: reset event source after unhide
4 years ago
BrassyPanache 7ca9ef12f8 Re-focus on parent surface if it is available
4 years ago
Brian Ashworth 2ea5d2985a input/libinput: remove input type property bias
4 years ago
Simon Ser 2c76923282 Use wlr_output_event_commit
4 years ago
Konstantin Pospelov fd216b3a81 exec: fix validation during config reload
4 years ago
Simon Ser 6991ac8c70 Handle SIGINT
4 years ago
Ronan Pigott b7f28cd6b7 view: remove foreign toplevel listeners on destroy
4 years ago
Ronan Pigott f478f4cc66 view: implement foreign toplevel fullscreen request
4 years ago
Ronan Pigott a01573016a view: implement foreign toplevel fullscreen indicator
4 years ago
Rex Hackbro 8fb9f3b711 document force_display_urgency_hint
4 years ago
Rex Hackbro 12a9ae013e fix force_display_urgency_hint parsing
4 years ago
Rex Hackbro d25e308f9c fix typos
4 years ago
Antonin Décimo bbf7b92fe4 Fix incorrect format specifiers
4 years ago
Antonin Décimo a1c6052383 Log empty value if envvar is not defined
4 years ago
Antonin Décimo 2960b2c9b6 cmd/bar/colors: fix dereference of null pointer
4 years ago
Antonin Décimo 8033b575f7 ipc: fix aligment issue of data buffer
4 years ago
Thayne McCombs b20d52f71d Use wlr_output_layout_output_at to get output for move to cursor
4 years ago
Thayne McCombs cfa403fc58 Keep windows in bounds on move to position mouse
4 years ago
Ronan Pigott dae74057b3 commands: disallow runtime include
4 years ago
Ronan Pigott 3520fd2c19 view: display scratchpad hidden containers when activated by ftm
4 years ago
Tobias Langendorf 4f718e6c75 Fix X11 clients getting stuck minimized
4 years ago
Antonin Décimo 7c7afa3b29 Fix typos in man page.
4 years ago
Nils Schulte b513981378 added ppt unit to move position command
4 years ago
Nils Schulte 6898d1963f moved and renamed movement-unit parsing to common
4 years ago
Ronan Pigott 36c3c222d2 sway.5: add missing underscore
4 years ago
Andri Yngvason ab8ded626b desktop: output: Scale custom output refresh rate
4 years ago
Tudor Brindus 6b9a9b6246 input/cursor: don't send wl_pointer.motion event on pointer unlock warp
4 years ago
Ronan Pigott 4dd46f06ac xdg_shell: schedule configure on maximize requests
4 years ago
Simon Ser 9bb70283e9 Assert output is found before removing from list
4 years ago
Ronan Pigott 39d677af15 input: implement xdg_toplevel interactive resize hints
4 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
4 years ago
Geoffrey Casper ea3ba203cc Reload command now matches i3's implementation
4 years ago
Nick Diego Yamane e5954f321f seat/dnd: support null drag icon surfaces
4 years ago
Tudor Brindus b4a75a1ab2 commands/move: maintain workspace_layout when moving
4 years ago
wb9688 17ff13fc84 Replace unprintable characters in input device id
4 years ago
Simon Ser b5a35c484f tree/view: fix segfault in view_update_title
4 years ago
Simon Ser eb4fa18308 Unset DISPLAY when wlr_xwayland fails
4 years ago
Simon Ser dfccd2a4c4 Don't set xwayland cursor when wlr_xwayland failed
4 years ago
Simon Ser 1bfbf262cc seat: fix segfault in sway_input_method_relay_set_focus
4 years ago
Tudor Brindus 92891fb1ed commands/move: unwrap workspace container on move to new workspace
4 years ago
Johan Bjäreholt 1f8dbb320a tree/view: Make foreign-toplevel app_id fallback to class
4 years ago
Isaac Freund 76adcc3fd3 output: simplify loop over layer surfaces
4 years ago