848 Commits (e32bdaa7bead5052dd32c12917ea8f74a9b14405)

Author SHA1 Message Date
Simon Zeni 5865af75cf sway: create wlr_renderer and wlr_allocator
3 years ago
David Rosca 215787e8b2 xwayland: Clear wlr_xwayland_surface in handle_destroy
3 years ago
Simon Ser 0c210a5e68 Handle present events with NULL timespec field
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
Simon Ser c43f1fbf1c Chase wlr_xdg_surface breaking changes
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
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
Tudor Brindus daaec72ac0 desktop/xwayland: restack surface upon activation
3 years ago
Hugo Osvaldo Barrera 62d90a8e95 Use fixed titlebar heights
3 years ago
Simon Ser c9060bcc12 layer-shell: replace close() with destroy()
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
Simon Ser 4832fc937f Update wlr_box includes
3 years ago
Tobias Langendorf 12e223e797 remove usage of `wlr_texture_get_size`
4 years ago
Ronan Pigott a6dc829ed0 xdg-shell: ignore unecessary fullscreen request ouput hints
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
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 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
Kenny Levinsen 152a559e30 idle_inhibit: Store wlr inhibitor instead of view
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 a6544f5a64 render: Clip surfaces to container bounds
4 years ago
Quantum e01a3c85f6 render: handle containers without output when rendering titles
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
Dimitris Triantafyllidis aac1582ea9 Fix #5643, #5064: rounding issues in floating-point -> integer conversions
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
Kenny Levinsen c8bf84c82d transactions: Amend pending transactions
4 years ago
Kenny Levinsen 37d7bc6998 transaction: Only wait for ack from visible views
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 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
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
Ronan Pigott ece6a1d408 Change workspace_layout to match i3 behavior
4 years ago
Simon Ser 33b64667ae Test output before direct scan-out
4 years ago
Vlad Pănăzan 71725a8eae Add layer shell subsurfaces
4 years ago
Ronan Pigott 32b93ef6ea xdg_shell: allow views to change geometry anytime
4 years ago
Simon Ser 83389da583
Log which output is using direct scan-out
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
Tudor Brindus 181798c2fe xwayland: listen to `set_geometry` event
4 years ago
Tobias Langendorf 657587964e xwayland: support views that change override-redirect status
4 years ago
Tudor Brindus bc239b2f6b desktop/render: show indicators for top-level split
4 years ago
John Mako 4537c8b3d4 check parent surface before it is destroyed
4 years ago
BrassyPanache 7ca9ef12f8 Re-focus on parent surface if it is available
4 years ago
Simon Ser 2c76923282 Use wlr_output_event_commit
4 years ago
Antonin Décimo bbf7b92fe4 Fix incorrect format specifiers
4 years ago
Tobias Langendorf 4f718e6c75 Fix X11 clients getting stuck minimized
4 years ago
Andri Yngvason ab8ded626b desktop: output: Scale custom output refresh rate
4 years ago
Ronan Pigott 4dd46f06ac xdg_shell: schedule configure on maximize requests
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
Isaac Freund 76adcc3fd3 output: simplify loop over layer surfaces
4 years ago
Kenny Levinsen d0f7e0f481 transaction: Mark client resize immediately ready
4 years ago
Simon Ser e19bd1e474 Add support for viewporter
5 years ago
Kalyan Sriram e3e548a648
Save transform during transaction
5 years ago
Kenny Levinsen f8dd7df1f5 shells: Resize on commit if geometry x/y changes
5 years ago
Kenny Levinsen 5a4a7bc0da container: Remove useless surface dimensions
5 years ago
Kenny Levinsen 7670f1a521 transaction: Improve transaction commentary
5 years ago
Kenny Levinsen 645cf76f8a transaction: Account for full size when centering content
5 years ago
Kenny Levinsen fcd0ab8f33 view: Save all buffers associated with view
5 years ago
Tudor Brindus 613abdda6f xwayland: pass focus to previous unmanaged surface on unmap
5 years ago
Damien Tardy-Panis 0cbd26f0da Add views idle inhibition status in get_tree output
5 years ago
Martin Michlmayr 06fc42359b Fix typos in comments
5 years ago
David96 8c62278207 Render layer shell popups over the top layer
5 years ago
Rouven Czerwinski ac0637708f output: remove damage listeners in damage destroy
5 years ago
Simon Ser f03d50f54b Add test-only support to wlr-output-management-unstable-v1
5 years ago
Simon Ser 40e87fa98a Stop checking wlr_output_attach_buffer return value
5 years ago
Leon Plickat dffc184a68 change apply_exclusive() to closer match layer shell protocol
5 years ago
Tadeo Kondrak 91c0ffd6cf Null check sway_layer_surface when checking damage
5 years ago
Simon Ser 9d0aa0cb83 Use wlr_client_buffer
5 years ago
Simon Ser 241684eb1d Drop sway_output.surface_needs_frame
5 years ago
Simon Ser f5ba8006c9 Only schedule a frame if client has requested a frame callback
5 years ago
Simon Ser c0811fcf87 Make handle_destroy and output_repaint_timer_handler static
5 years ago
Simon Ser 5ed01c861a Add support for wlr-output-power-management-unstable-v1
5 years ago
Brian Ashworth e0f8235fbf Revert "Don't apply exclusive zones of unmapped layer-shell surfaces"
5 years ago
Simon Ser e1eda8a09c Don't apply exclusive zones of unmapped layer-shell surfaces
5 years ago
Simon Ser f2a60d2d05 Fix get_int_prop(WINDOW_TYPE) crash
5 years ago
Simon Ser 5e90080468 Call apply_output_config instead of output_enable
5 years ago
Simon Ser 46561fc914 Fix seat_set_focus_layer crash when disabling output
5 years ago
Brian Ashworth 18507e62fd desktop/output: fix mem leak in handle_new_output
5 years ago
Simon Ser 679aa6032d Fix unreliable scaling filter
5 years ago
Brian Ashworth b977c02e35 render: do not render indicator on floating views
5 years ago
Rouven Czerwinski 1e44247baa xwayland: handle size_hints == NULL
5 years ago
Simon Ser ef2332f7a6 Re-add support for wlr_output's atomic API
5 years ago
Brian Ashworth 088b374b1a layer-shell: refocus if keyboard interactive lost
5 years ago
Manuel Stoeckl 1d483c340d desktop/surface: Fix crash when timer is NULL
5 years ago
Brian Ashworth b7f0656fab layer-shell: unfocus output-less layer on unmap
5 years ago
Kenny Levinsen 275af2ad62 output: Restore previous max_render_time behavior
5 years ago
Kenny Levinsen d1eab10266 output: Schedule idle frames if we do not render
5 years ago
Kenny Levinsen 57f615e122 output: Replace block_idle_frame with frame_pending
5 years ago
Ronan Pigott 6968fb3123 add scale_filter output config option
5 years ago
Kenny Levinsen 4b57953628 output: Ensure that frame_done is delayed on max_render_time
5 years ago
Jason 939c7b2d52 Amend typos
5 years ago
Simon Ser 1d3cbe9f27 Use new presentation-time helper
5 years ago
Ivan Molodetskikh 76210c141d output: check wlr_output in repaint handler
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
Rouven Czerwinski df1a046875 xwayland: get_constraints using size hints
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
Simon Ser ec14a00e8c Fix segfault in wlr_output_manager_v1_set_configuration
5 years ago
Danilo Spinella a5b6f40937 Fix refresh rate scale of output
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
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
Simon Ser 875edc9c2f Add support for fullscreen view direct scan-out
5 years ago
Ivan Molodetskikh fba248ed5e render: set surface as sampled for presentation
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
asdfjkluiop f07b9afee5 A layer-shell will only be focused if it is non-null
5 years ago
Dark c3fbb01e07 Update titlebar borders to match i3's current behavior.
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
Drew DeVault cb8f68d74b layer-shell: add support for popups
5 years ago
Sebastian Krzyszkowiak dac9c9c72b layer_shell: Guard against negative exclusive zone
5 years ago
Simon Ser f984f21b6a Remove all wayland-server.h includes
5 years ago
Josef Gajdusek ac87df23ea Update output manager on layout change
5 years ago
murray b59139c239 use surface coordinates for damaging buffers
6 years ago
Rouven Czerwinski 5ff330e6bc desktop: output: fix use-after-free in destroy
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
Moelf ed2e553b8d Implement output toggle
6 years ago
Simon Ser 9aafef352b Don't submit too much damage
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 69a1a0ff99 Fix scratchpad fullscreen behavior and crash
6 years ago
Brian Ashworth 195226120f Honor output for xdg_toplevel_set_fullscreen
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 dd28e6a6d6 Fix xwayland configure request scratchpad crash
6 years ago
Brian Ashworth d9de5b8758 Implement inhibit_idle command
6 years ago
Ryan Dwyer e9a476244d Remove debug tree
6 years ago
Ryan Dwyer 7b9ae42331 Introduce default seatop
6 years ago
Brian Ashworth 3106ef23a7 Fix output config retrieval for new outputs
6 years ago
Brian Ashworth acdb4ed7a3 xwayland: handle floating configure request size
6 years ago
Brian Ashworth 3330faded5 Handle seat_get_focused_workspace returning NULL
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
6 years ago
Brian Ashworth c02d2a0128 damage: remove output_damage_view
6 years ago
Brian Ashworth 7580718d12 output_damage_whole_container: damage subsurfaces
6 years ago
Brian Ashworth 23f075e71d render_floating: skip fullscreen floaters
6 years ago
db 2510e3df38 add --i3 flag to hide_edge_borders
6 years ago
Brian Ashworth bcec866c6b handle_layer_shell_surface: do not use noop output
6 years ago
Rouven Czerwinski 3ead287064 view: set xdg_decoration->view to NULL, check decoration destroy
6 years ago
Brian Ashworth d3d7956576 Handle NULL from output_get_active_workspace
6 years ago
Brian Ashworth 03dfdb1edb output_get_active_workspace: check workspaces length
6 years ago
emersion 7baaa3a0f8 Disconnect swaybg instead of killing it
6 years ago
emersion 97c89b24b8
Rebase cursor when a layer surface maps
6 years ago
emersion 9b1905acf9 Fix close_popups for xdg-shell
6 years ago
mwenzkowski 7c27d73b02 Check xdg_surface's role before using its toplevel
6 years ago
Ryan Dwyer 6b8bf10941 Introduce container_is_scratchpad_hidden
6 years ago
Ryan Dwyer 0a9ff774ad Center surface inside container when it's too small
6 years ago
Drew DeVault 783fadab28
Merge pull request #3423 from RyanDwyer/fullscreen-global
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
6 years ago
Ian Fan 5d6f906bd7 Use sway_log_errno instead of strerror
6 years ago
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
Ryan Dwyer 2301349ad5 Use noop output when there's no outputs connected
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
emersion 0bf3252d8b
Fix re-enabling outputs gaining a CRTC
6 years ago
emersion 2ae2d09c4c Prevent crashes in handle_transform and handle_scale too
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion dc1eac0cf1 output: remove output_add_listeners
6 years ago
Brian Ashworth 247817f68c layer_shell: do not SIGABRT sway on zero outputs
6 years ago
Connor E 023c92423e Remove wlr_xdg_surface_send_close.
6 years ago
Ryan Dwyer ed5aafd90b Refactor seat operations to use an interface
6 years ago
Jan Beich 4a11d0e470 Use %z for printing size_t
6 years ago
Mack Straight a96e86744f Fix fullscreen view rendering crash
6 years ago
Brian Ashworth cf7c77e56a Fix wlr_box_intersection args for wlroots 1441
6 years ago
Drew DeVault 788b715776 Fixes per wlroots#1441
6 years ago
Brian Ashworth 88d96bc41f Combine output_by_name and output_by_identifier
6 years ago
Brian Ashworth 6acbe84fdd Call wlr_output_enable for disabled new outputs
6 years ago
emersion ed7bd683a7
Update for swaywm/wlroots#1403
6 years ago
Brian Ashworth 14cb39c772 Fix titlebar when no title or marks
6 years ago
Brian Ashworth e6562c8cd2 Implement title alignment
6 years ago