333 Commits (e40eb338b9d104e3d9fce46914b155f3ddb1e702)

Author SHA1 Message Date
Ryan Dwyer 832ebc8966 Implement popup_during_fullscreen
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
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 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
emersion 349d1f3be8 Do not modeset disabled outputs
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
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
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 b0a5f3a25f Store geometry in the view and handle any floating view resizing
6 years ago
Ryan Dwyer 982a2d0c99 Fix geometry
6 years ago
Ryan Dwyer 8392eae40f Revert "Revert "Fix popups""
6 years ago
Drew DeVault 9aa258d33a Revert "Fix popups"
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 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
emersion e9d674cfd2 wip: redesign output_view_for_each_surface iterator
6 years ago
emersion a0dd977617 wip: redesign output_layer_for_each_surface iterator
6 years ago
emersion dbf6dd0dae wip: redesign output_drag_icons_for_each_surface iterator
6 years ago
emersion d2172bd331 wip: redesign output_unmanaged_for_each_surface iterator
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
Drew DeVault 53dbe2da4b
Merge pull request #2353 from emersion/render-opaque-overlay
6 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
6 years ago
emersion 0e79b2114c Improve rendering with a fullscreen opaque overlay surface
6 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
6 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
6 years ago
Ryan Dwyer f9491c9584 Fix damage issue when moving and resizing
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
emersion d88f1d2196 Fix output_has_opaque_lockscreen
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
emersion f9625d1d56
Split renderer
6 years ago
Ryan Dwyer 0046eed969 Fix titles when container titles contain UTF-8 characters
6 years ago
Ryan Dwyer 464d4d5889 Translate surface by its geo when doing opaque box check
6 years ago
Ryan Dwyer 9480781229 Don't clear when using opaque lockscreen
6 years ago
Ryan Dwyer 3b842f4eed Detect opaque lockscreen when using a solid color
6 years ago
Ryan Dwyer f1fadef923 Use pixman_region32_contains_rectangle
6 years ago
Ryan Dwyer 839c3a5500 Use opaque region to determine if frame done should be sent
6 years ago
Ryan Dwyer 58befcf2cd Don't send frame done to surfaces behind lockscreen
6 years ago
emersion 51b215ad5c
Use wlr_surface.buffer_damage
6 years ago
Drew DeVault d43500831a
Updates per wlroots#1076
6 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface
6 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Rostislav Pehlivanov 0cc24dd9c8 Fix crash with stacking layout after f42bf0ad4
6 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
6 years ago
Ryan Dwyer 3a6ed5110c Render saved buffers with the surface's dimensions
6 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Dominique Martinet 6856866a61 layer_shell: order destroying before sway_output
7 years ago
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
7 years ago
Ryan Dwyer 33e03cb277 Fix crash related to stacks and tabs
7 years ago
Ryan Dwyer 32b865e610 Fix crash when deleting last child in a tabbed or stacked container
7 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Ryan Dwyer 1c89f32533 Preserve buffers during transactions
7 years ago
Ryan Dwyer 645bf446fa Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
emersion 088cae45c8 Update for swaywm/wlroots#1060
7 years ago
Ryan Dwyer 9e96cfd310 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
emersion cfd02918c0
Render drag icons
7 years ago
emersion 88cd7616db
Fix compilation errors related to disabled outputs
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer f9e6d703d2 Make main properties be the pending state
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Brian Ashworth e072fbc6d9 Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth a0bbe67076 Address emersions comments on output re-enabling
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
emersion 0f71547032
Merge pull request #2095 from emersion/fullscreen-damage-only-visible
7 years ago
emersion 55b855d867
Add SWAY_DAMAGE_DEBUG
7 years ago
emersion 34bdf25bb5
Only send frame to visible surfaces when fullscreened
7 years ago
emersion 51eee3aecc
Schedule a frame even if damage is empty
7 years ago
emersion 65845be802
Only send frame done to visible views
7 years ago
Ryan Dwyer 02d385e06f Use swayc rather than wlr_output when rendering
7 years ago
Ryan Dwyer 3281574fa3 Remove check for if floating view intersects output
7 years ago
Ryan Dwyer 7d2b33a458 Render floating views before top layer and unmanaged
7 years ago
Ryan Dwyer e4e912ea91 Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer dc83b158e1 Fix issues with sticky containers and workspaces
7 years ago
Ryan Dwyer 754cb7944c Respect view's border config for floating containers
7 years ago
Ryan Dwyer aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 34f35f0bad Use L_FLOATING instead of reapable boolean
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Drew DeVault 71db8de4be Render floating views
7 years ago
Brian Ashworth 205a1732cf Force fullscreen views to be fully opaque
7 years ago
Ryan Dwyer f6c3682c05 Use constants for titlebar dimensions
7 years ago
Ryan Dwyer 664169fbf1 Implement stacked layout
7 years ago
Ryan Dwyer 048b29527b Pre-multiply alpha for tab decorations
7 years ago
Ryan Dwyer 90607dc329 Add left/right borders to tabs
7 years ago
Ryan Dwyer 5ab4930185 Fix tab border issues
7 years ago
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Ryan Dwyer c08f9bf257 Implement tabbed layout
7 years ago
Brian Ashworth 750a497a8b Pre-multiply alpha for non-textures
7 years ago
Konstantin Pospelov fcc11f9771 Fix pixel bar below title
7 years ago
Ryan Dwyer f0212d66ee Update marks textures on output scale event
7 years ago
Ryan Dwyer ebb0d051db Fix many border opacity issues
7 years ago
Ryan Dwyer 0e2cc0af30 Implement show_marks
7 years ago
emersion 79e970d86e
Correctly clip title texture if necessary
7 years ago
Brian Ashworth 9ba0dca7ba
Merge branch 'master' into fix-1975
7 years ago
Brian Ashworth 77b42ec821 Always render top border for border normal
7 years ago
emersion 95a10dd4f3
Kill wl_shell
7 years ago
Brian Ashworth 6ff7c52736 Fix titles and detect edges for hide_edge_borders
7 years ago
Brian Ashworth 2adf23c2a3 Only count views for hide_edge_borders smart
7 years ago
Brian Ashworth e3625d8f33 Count descendant views for hide_edge_borders smart
7 years ago
Brian Ashworth 3db7fc2bb2 Implement hide_edge_borders
7 years ago
Ryan Dwyer 83e314bf51 Highlight all child borders when using focus parent
7 years ago
emersion 44fcc06efd
Fix damage tracking on HiDPI
7 years ago
emersion 90614f3a63
Accumulate surface damage even if whole=true
7 years ago
emersion bec80f1551
Damage borders when damaging view
7 years ago
emersion 98f7ee8f59
Render borders with damage
7 years ago
emersion c8a9ea3903
Implement full damage tracking
7 years ago
Ryan Dwyer 4922d269b8 Fix titles on rotated outputs
7 years ago
Ryan Dwyer e83e5487be Use scissor to render title texture
7 years ago
Ryan Dwyer b667298a0a Render titles
7 years ago
Ryan Dwyer daab8e3503 Support alpha in border colours
7 years ago
Ryan Dwyer a19a511b90 Implement indicator border
7 years ago
Ryan Dwyer d847ac1120 Scale borders according to output scale
7 years ago
Ryan Dwyer e67f354333 Implement borders
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
Ryan Dwyer 4d2b3fc950 Render unmanaged xwayland views when an xwayland view is fullscreen
7 years ago
Ryan Dwyer 6afccd07d9 Add TODO about rendering fullscreen views smaller than the output
7 years ago
Ryan Dwyer bd67342bdc Don't render top layer when fullscreen.
7 years ago
Ryan Dwyer 9715e38ca8 render_output(): When fullscreen, clear to black and don't render background
7 years ago
Ryan Dwyer 8d06b222f0 Fullscreen rendering and input fixes.
7 years ago
Ryan Dwyer 35ccdd67a8 More fullscreen fixes.
7 years ago
Ryan Dwyer a44d016e2b Don't damage views if they're hidden by a fullscreen view.
7 years ago
Ryan Dwyer c685ef081f Create sway_workspace struct.
7 years ago
Ryan Dwyer bfd5834f4c Feedback for fullscreen.
7 years ago
Ryan Dwyer 52420cc24d Implement fullscreen.
7 years ago
Drew DeVault b12b848bdc
Merge pull request #1759 from emersion/output-send-frame-done
7 years ago
emersion 8af0c2b000
Don't send frame done immediately when rendering
7 years ago
emersion 33b4f945ab
Fix inverted assertion
7 years ago
Drew DeVault c47b4d4edb
Merge pull request #1756 from emersion/output-damage
7 years ago
emersion 0c627918bb
Damage all surfaces when damaging whole container
7 years ago
emersion 58914822aa
Don't damage the whole output
7 years ago
emersion e550e22c0b
Refactor rendering code
7 years ago
Drew DeVault 603e0e42c5 Add debug tree view
7 years ago
emersion 516f5454ad
Simplify damage tracking functions, use them in layer shell
7 years ago
emersion 641807d920
Handle unmanaged surfaces motion
7 years ago