620 Commits (d328c2439c47fbbb24f74fd26e1a88ad8aaa3ace)

Author SHA1 Message Date
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
Ryan Dwyer f5b9815128 Prepare arrange code for type safe arguments
6 years ago
Drew DeVault 10c2c09cf6
Merge pull request #2513 from RyanDwyer/rename-root-outputs
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer 2e7401772e Rename sway_root.outputs to sway_root.all_outputs
6 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs
6 years ago
Drew DeVault 08a69f267a
Merge pull request #2483 from RyanDwyer/floating-emit-reparent
6 years ago
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly
6 years ago
Ryan Dwyer b3e2c49774 Fix crash when a view destroys with pending transactions
6 years ago
emersion 8db6c68db6
Merge pull request #2493 from RyanDwyer/fix-popup-position
6 years ago
Drew DeVault 9f913614ca
Merge pull request #2478 from RyanDwyer/standardise-debug
6 years ago
Ryan Dwyer 76bdb21ca9 Fix popup position when parent uses geometry
6 years ago
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list
6 years ago
Ryan Dwyer f9563d88f3 Use enum for damage debug options
6 years ago
Ryan Dwyer 8d1dd03823 Standardise debug variables
6 years ago
Drew DeVault d0a24465d7
Merge pull request #2466 from RyanDwyer/geometry
6 years ago
Ryan Dwyer d6cd79c342 Implement iterators per container type
6 years ago
Ryan Dwyer ce78f6770e Fix nitpick
6 years ago
Ryan Dwyer b0a5f3a25f Store geometry in the view and handle any floating view resizing
6 years ago
Ryan Dwyer 4e755c4b12 Set current size when a floating xwayland view resizes
6 years ago
Ryan Dwyer 8af4e2e3e6 Handle xwayland views sending new sizes in their commits
6 years ago
Ryan Dwyer 9ee89f11c4 Add get_geometry for xdg_shell_v6
6 years ago
Ryan Dwyer 8034c25426 Render saved buffer using saved geometry
6 years ago
Ryan Dwyer 982a2d0c99 Fix geometry
6 years ago
emersion b3ee9af0c8 Add view_get_geometry
6 years ago
Ryan Dwyer 1801b725e2 Add using_csd variable to transaction state
6 years ago
Ryan Dwyer c3ef36d6b5 Simplify transactions
6 years ago
Ryan Dwyer 4b8e3a885b Don't commit multiple transactions at the same time
6 years ago
Ryan Dwyer e7a7306063 Don't progress transaction queue if any are partially complete
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
6 years ago
emersion d1433c637a xwayland: fix unmanaged surfaces order
6 years ago
emersion d2ac48f920 Handle views created after decoration mode is sent for xdg-shell-v6
6 years ago
emersion 9d578e0a0f Handle views created after decoration mode is sent for xdg-shell
6 years ago
Ryan Dwyer 787f08da7f Convert toplevel coordinates to output-local
6 years ago
Ryan Dwyer 8392eae40f Revert "Revert "Fix popups""
6 years ago
Drew DeVault ea14ef4095
Merge pull request #2366 from RedSoxFan/nagbar
6 years ago
Ryan Dwyer 706c0fbe23
Merge branch 'master' into nagbar
6 years ago
Drew DeVault 9aa258d33a Revert "Fix popups"
6 years ago
Ryan Dwyer 8314019f66 Fix race condition crashes when unmapping views
6 years ago
emersion 47bf4ed0cb
Merge branch 'master' into fix-resize-wiggle
6 years ago
Brian Ashworth a4f7bf23b2 Address first round review for swaynag
6 years ago
Brian Ashworth abf33468c1 Arrange output in arrange_layers and commit dirty
6 years ago
Ryan Dwyer d10ccc1eb1 Correctly track saved surfaces during multiple transactions
6 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus
6 years ago
Ryan Dwyer de86d65627 Fix popups
6 years ago
emersion 15c19572cf Fix segfault with fullscreen
6 years ago
Drew DeVault cbd0c3ec40
Merge pull request #2367 from emersion/iterator-redesign
6 years ago
Brian Ashworth b8efdeae29 Fix title textures on scale change
6 years ago
emersion 9a7e436fad Don't give focus if xwayland window has a type hint
6 years ago
emersion 0ad865f0b7 Make output_surface_for_each_surface_iterator static
6 years ago
emersion 9951b2ec33 Remove unused output_from_wlr_output
6 years ago
emersion fe0750fec1 Remove output_surface_for_each_surface from header
6 years ago
emersion 8d5cc8625c Completely switch over to new iterators
6 years ago