872 Commits (861dde100ab5536bea190b078c6c51adb6814be5)

Author SHA1 Message Date
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
5 years ago
Ronan Pigott 39d677af15 input: implement xdg_toplevel interactive resize hints
5 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
5 years ago
Isaac Freund 76adcc3fd3 output: simplify loop over layer surfaces
5 years ago
Kenny Levinsen d0f7e0f481 transaction: Mark client resize immediately ready
5 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
6 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
Florent de Lamotte 7555c7efdc Adding commands for configuring titlebar borders and padding
6 years ago
emersion cad851805b
Use #if instead of #ifdef
6 years ago
Ryan Dwyer be9348d25c Move view {x,y,width,height} into container struct
6 years ago
Drew DeVault 47cca240e2
Merge pull request #3102 from emersion/render-software-cursors
6 years ago
emersion 2afd930914
Use #if instead of #ifdef for WLR_HAS_*
6 years ago
emersion 528f129c98
Render software cursors with wlr_output_render_software_cursors
6 years ago
emersion 0e85b92250
Use wlr_surface_get_effective_damage
6 years ago
Ryan Dwyer 9fc736f4e1 Move view marks properties to container struct
6 years ago
Ryan Dwyer 528c7495bb Move view border properties to container struct
6 years ago
Rostislav Pehlivanov b0fb2846fe Revert "Respect border settings when rendering lone tabbed/stacked child"
6 years ago
Robinhuett 0a4cf4748d Use output identifier for workspace config
6 years ago
Ryan Dwyer d0dca7f35e Don't reset cursor during mouse operations
6 years ago
Ryan Dwyer 65328ef60c Respect border settings when rendering lone tabbed/stacked child
6 years ago
Ryan Dwyer 60a1d79de7 Rebase the cursor after applying transactions
6 years ago
Drew DeVault ea2497d35c
Merge pull request #2950 from emersion/presentation-time
6 years ago
Ryan Dwyer bdae625cb3 Rebase the cursor after mapping a view
6 years ago
Drew DeVault bdb176863c
Merge pull request #2933 from Snaipe/xwayland-window-properties
6 years ago
emersion a654ac1bd6
Implement the presentation-time protocol
6 years ago
Franklin "Snaipe" Mathieu 8fc9328334 xwayland: populate window_properties in json for views
6 years ago
Ryan Dwyer 16ef702645 Fix xwayland wants_floating logic
6 years ago
Christian 989bddc765 Parse missing i3 window types
6 years ago
Ryan Dwyer 93ec1af4d9 Fix popup damage issues when toplevel and/or popup uses geometry
6 years ago
Ryan Dwyer c006717910 Minor refactor of input manager
6 years ago
Drew DeVault 765c80e5f7
Merge pull request #2820 from Emantor/fix-mouse-warping-container
6 years ago
Rouven Czerwinski 892446a0b6 view: move arrange_workspace into view_map
6 years ago
Ryan Dwyer c699a86e47 Fix pixel leaks when using fractional scaling
6 years ago
Drew DeVault 4bebee620f
Merge pull request #2772 from RyanDwyer/improve-popup-damage
6 years ago
Ryan Dwyer d21d2c8665 Remove duplicate code
6 years ago
Ryan Dwyer b8002fc0c4 Look for any ancestor when checking for fullscreen exit
6 years ago
Ryan Dwyer 88317b59ce Use current state when rendering transient containers
6 years ago
Ryan Dwyer f23588de3c Introduce container_is_transient_for
6 years ago
Ryan Dwyer 832ebc8966 Implement popup_during_fullscreen
6 years ago
Ryan Dwyer 59ba528bd9 Use wlr_xdg_popup_get_toplevel_coords
6 years ago
Ryan Dwyer 1059e173f4 Only damage popups when popups have damage
6 years ago
Ryan Dwyer 32cb631143 Give focus to another swaylock surface when output is disconnected
6 years ago
Drew DeVault 06c214a800
Merge pull request #2703 from RyanDwyer/csd-border
6 years ago
Ian Fan 0dfcadc1cf transaction: do not use pointers for state
6 years ago
Ryan Dwyer f16529e258 Remove server-decoration assumption if view supports xdg-decoration
6 years ago
Ryan Dwyer 6d0442c0c2 Rename view_set_csd_from_client to view_update_csd_from_client
6 years ago
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
6 years ago
Ryan Dwyer ae2f53a477 Reconfigure xwayland views when repositioned
6 years ago
emersion 4289343e17 Fix segfault in output_render
6 years ago
Drew DeVault 456b91600d
Merge pull request #2637 from RyanDwyer/fix-tabbed-workspace-shenanigans
6 years ago
Marien Zwart ffd1308bbc Fix crash when destroying an idle-inhibiting client
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
emersion 7699c5444c Update for swaywm/wlroots#1243
6 years ago
Ryan Dwyer eb74317c2d Fix dropzone box on scaled outputs
6 years ago
Ryan Dwyer 8bb40c24c7 Implement tiling drag
6 years ago
Ryan Dwyer d4e80cf301 Rename OP_MOVE to OP_MOVE_FLOATING
6 years ago
Armin Preiml 47b6fea3fe handle_layer_shell_surface: Do not crash if seat doesn't have focus
6 years ago
Ryan Dwyer 9215ca0f01 Align titles to baseline
6 years ago
Ryan Dwyer 9226aad58c Fix gaps in title textures and vertically center them
6 years ago
Drew DeVault 030b5bc024
Merge pull request #2603 from emersion/fix-dnd
6 years ago
emersion 251a7ebc4b Fix drag-and-drop
6 years ago
Ryan Dwyer cf32d5d776 Float views when min == max on either dimension
6 years ago
Ryan Dwyer 5967ee1fbc Fix crash when switching to new workspace during transaction
6 years ago
Ryan Dwyer 9642b87b9e Fix crash when views rapidly map and unmap
6 years ago
Ryan Dwyer 93ff7879f1 Fix output position issue
6 years ago
Ryan Dwyer 0b23423c14 Update output propertes on mode change
6 years ago
Ryan Dwyer 26204441b4 Apply default config to output
6 years ago
Ryan Dwyer acc2628c79 Don't use wlr_output properties
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
Ryan Dwyer 29f5cc7508 Implement window_role criteria token
6 years ago
Ian Fan e6fde0739a Fix crash when a splash screen opens on an empty workspace
6 years ago
Brian Ashworth afb6968874
Merge branch 'master' into disabled-no-modeset
6 years ago
Ryan Dwyer f057a0195e Implement focus_on_window_activation
6 years ago
Ryan Dwyer 69cd1dfaca Check modal state when determining whether an xwayland view should float
6 years ago
emersion 349d1f3be8 Do not modeset disabled outputs
6 years ago
Ryan Dwyer f4ec308376 Implement window_type criteria token
6 years ago
Ryan Dwyer dce549c537 Don't send never-ending transactions when a focused layer surface commits
6 years ago
Drew DeVault 3686724c9e
Merge pull request #2531 from RyanDwyer/maybe-fix-transaction-crash
6 years ago
Ryan Dwyer 3c4196b986 Fix rendering of nested tabs
6 years ago
Ryan Dwyer 53fe7b02e9 Fix workspace tabs
6 years ago
Ryan Dwyer b12f7be907 Don't use bitfield to test for similar transactions
6 years ago
Ryan Dwyer 126a82f14f Fix gaps issues
6 years ago