Commit Graph

532 Commits (3f184cf188234083498e0b03435853bbadd01a99)

Author SHA1 Message Date
Ryan Dwyer 315d5311b2 Implement urgency base functionality 7 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions 7 years ago
Drew DeVault 53e3f35ba3
Merge pull request from RyanDwyer/simplify-transactions 7 years ago
Drew DeVault b1afcc69fa Add extended debugging flags 7 years ago
Ryan Dwyer 6b2dc7e63b Set signature to void 7 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers 7 years ago
emersion efda33b285 Simplify popup_unconstrain 7 years ago
emersion d88f1d2196 Fix output_has_opaque_lockscreen 7 years ago
Ryan Dwyer 53133fdefb
Merge branch 'master' into xwayland-floating-borders 7 years ago
emersion a96f1c22fe Add xdg-positioner support 7 years ago
emersion 9b16227ec3 Don't disable borders for xwayland floating views 7 years ago
Ryan Dwyer 3b50a2a3af Use saved buffer when fullscreen view is in a transaction 7 years ago
russ morris 6ae1004cd1 removed unnecessary parens 7 years ago
russ morris c06266e12d fix line lengths 7 years ago
russ morris b9d8ecc548 tabs instead of spaces 7 years ago
russ morris 89c25dd149 fix tabbed titlebar widths 7 years ago
Ryan Dwyer 56ad148403
Merge branch 'master' into fix-stacked-layout 7 years ago
emersion 63b4bf5000
Update for 7 years ago
Konstantin Pospelov 9dd54f934e Fix titlebar rendering for nested stacked containers 7 years ago
Ryan Dwyer ab8a86369c Implement some floating move commands 7 years ago
emersion f9625d1d56
Split renderer 7 years ago
Ryan Dwyer 0046eed969 Fix titles when container titles contain UTF-8 characters 7 years ago
emersion 9a9d9116be
Make view_update_* update live props as well 7 years ago
emersion 47d56306c3
Fix xwayland floating views unclickable 7 years ago
Ryan Dwyer 464d4d5889 Translate surface by its geo when doing opaque box check 7 years ago
Ryan Dwyer 9480781229 Don't clear when using opaque lockscreen 7 years ago
Ryan Dwyer 3b842f4eed Detect opaque lockscreen when using a solid color 7 years ago
Ryan Dwyer f1fadef923 Use pixman_region32_contains_rectangle 7 years ago
Ryan Dwyer 839c3a5500 Use opaque region to determine if frame done should be sent 7 years ago
Ryan Dwyer 58befcf2cd Don't send frame done to surfaces behind lockscreen 7 years ago
emersion 51b215ad5c
Use wlr_surface.buffer_damage 7 years ago
Drew DeVault d43500831a
Updates per wlroots#1076 7 years ago
Ryan Dwyer 50b401677b Fix use after free in transaction code 7 years ago
Ryan Dwyer d467452e5e Fix damage on swaybar when view requests to exit fullscreen 7 years ago
emersion f611a4f9b1
Merge pull request from martinetd/idle-inhibit 7 years ago
Dominique Martinet 71224781c4 idle_inhibit: move server data to its own struct 7 years ago
Dominique Martinet 072b334abc idle_inhibit: stop inhibitor when views become invisible 7 years ago
Dominique Martinet e4bfb3bc98 Add idle inhibit unstable v1 support 7 years ago
Dominique Martinet df494a7e51 transaction_apply: use float for quotient 7 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking 7 years ago
Dominique Martinet bc1e99305a xdg_shell: listen to fullscreen request on map 7 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface 7 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic 7 years ago
Rostislav Pehlivanov 0cc24dd9c8 Fix crash with stacking layout after f42bf0ad4 7 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views" 7 years ago
Ryan Dwyer 96c8c02483 Fix flash of background when xwayland views are mapped 7 years ago
Ryan Dwyer 3a6ed5110c Render saved buffers with the surface's dimensions 7 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic 7 years ago
Ryan Dwyer d7169ee7ff Replace list_empty with a simple alternative 7 years ago
Armin Preiml c4b900c1e0 fix accidently removing borders on XCB_CONFIGURE_REQUEST 7 years ago
Ryan Dwyer 9652529cc1 Allow views to skip configures 7 years ago
Ryan Dwyer e6829c5991 Move unsetting of view->surface into view_unmap 7 years ago
Ryan Dwyer be86d3aba6 Remove transaction_add_damage 7 years ago
Ryan Dwyer 61c1187685 Fix nitpicks 7 years ago
Ryan Dwyer bf38081382
Merge branch 'master' into xwayland-wants-float 7 years ago
emersion ecd748d240
Merge branch 'master' into float_xdg_shell 7 years ago
Dominique Martinet 6856866a61 layer_shell: order destroying before sway_output 7 years ago
Dominique Martinet 08800c8ee2 layer_shell: cleanup output link on output destroy 7 years ago
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output 7 years ago
Ryan Dwyer 0085f64ac0 Remove timer when transaction destroys 7 years ago
Ryan Dwyer e8001e6fbe Damage output when views toggle fullscreen 7 years ago
Ryan Dwyer 50190bc760 Rename view's free callback to destroy 7 years ago
Ryan Dwyer 7a922c65aa Damage output when a fullscreen view unmaps 7 years ago
Dominique Martinet c9be014557 xdg_shell: make view floating if a parent has been set 7 years ago
Ryan Dwyer beacd4d9f9 Rename progress_queue to transaction_progress_queue 7 years ago
Ryan Dwyer c371ff3de8 Implement per-configure debug timings 7 years ago
Ryan Dwyer 289d696adc Implement transaction timings debug 7 years ago
emersion eeb38d65cb
xwayland: accept configure requests from floating views 7 years ago
Ryan Dwyer 1549fb719a Implement atomic layout updates for xwayland views 7 years ago
Ryan Dwyer 33e03cb277 Fix crash related to stacks and tabs 7 years ago
Ryan Dwyer f08a30d6d0 Force transactions to complete in order 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
emersion cda66e9a26
Automatically float xwayland windows 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 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 from emersion/fullscreen-damage-only-visible 7 years ago
Ryan Dwyer 1206a60977 Don't restore focus if unmapping surface wasn't focused 7 years ago
Ryan Dwyer 9253278328 Restore focus when unmapping layer shell surfaces 7 years ago
Ryan Dwyer 74799937cf Restore focus when unmapping unmanaged xwayland surfaces 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 d466b8fa7b Don't auto float xdg views if their dimensions are not set 7 years ago
Ryan Dwyer c9e3a313b4 Fix fullscreen position of xwayland views 7 years ago
Ryan Dwyer 9119f87655 Fix floating position when view is floated when mapped 7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views 7 years ago
Ryan Dwyer becceafa7f Remove unfinished wants_floating implementation for xwayland 7 years ago
Ryan Dwyer 5b1601c2e3 Don't let xwayland views set position unless unmanaged 7 years ago
Ryan Dwyer 02d385e06f Use swayc rather than wlr_output when rendering 7 years ago
Ryan Dwyer 3b1db30a5e Use surface size if xdg shell's geometry isn't set 7 years ago
Ryan Dwyer 4371c746e4 Implement wants_floating for xdg_shell and xdg_shell_v6 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 02de2a6f65 Rename set_maximized functions to set_tiled 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
emersion b350e8ec82
xdg-shell: make all toplevels tiled 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 34b864fb17
Merge branch 'master' into fix-1975 7 years ago
Brian Ashworth 6ff7c52736 Fix titles and detect edges for hide_edge_borders 7 years ago
Ryan Dwyer 8432d8a15e xdg_shell: Replace get_prop with get_string_prop 7 years ago
Ryan Dwyer 1e9aaa54a8 Revert "Revert "Merge pull request from RyanDwyer/criteria-improvements"" 7 years ago
emersion 88d9d43b36
Add xdg-shell stable support 7 years ago
Ryan Dwyer 90e6dfa268
Merge branch 'master' into edge-borders 7 years ago
emersion 360e63b8a7
Don't destroy view child on xdg-popup unmap 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
Drew DeVault 32a572cecf Revert "Merge pull request from RyanDwyer/criteria-improvements" 7 years ago
Brian Ashworth 3db7fc2bb2 Implement hide_edge_borders 7 years ago
Ryan Dwyer 3b0c26d149 Overhaul criteria implementation 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
emersion 3d29e73e72
layer-shell: use usable_area when arranging non-exclusive layer surfaces 7 years ago
Ryan Dwyer 4922d269b8 Fix titles on rotated outputs 7 years ago
Ryan Dwyer 228c478e8d Implement title_format 7 years ago
Ryan Dwyer e83e5487be Use scissor to render title texture 7 years ago
Ryan Dwyer 74d1367fac Update titles when surfaces are committed 7 years ago
Ryan Dwyer b667298a0a Render titles 7 years ago
Ryan Dwyer daab8e3503 Support alpha in border colours 7 years ago
db 22170bde77 Fix layer surface crash on output destroy 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
emersion 976e6b99b6
Merge branch 'master' into refactor-arrange-windows 7 years ago
emersion 3fd8897abe
Don't call view_set_fullscreen on unmapped xwayland views 7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows() 7 years ago
emersion df245780d2
Do not let tiled xwayland views do what they want 7 years ago
Drew DeVault 420a669f21 Updates per 7 years ago
Ryan Dwyer 4d2b3fc950 Render unmanaged xwayland views when an xwayland view is fullscreen 7 years ago
emersion 17bee33fc9
Don't unmap on destroy, this is already guaranteed by wlroots 7 years ago
Ryan Dwyer 6afccd07d9 Add TODO about rendering fullscreen views smaller than the output 7 years ago
Ryan Dwyer 76837b9132 Ignore xdg_shell_v6 request_fullscreen if not mapped 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 2acfbc519e xdg_shell_v6: Use client_pending state instead of current 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 72beae209b Fullscreen fixes. 7 years ago
Ryan Dwyer 143b528f71 Handle fullscreen flag when mapping a surface. 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
emersion bdaf420ead
Do not call the map handler when an xwayland surface is created 7 years ago
emersion 2b357af7ee
Give keyboard focus to unmanaged xwayland surfaces 7 years ago
Drew DeVault b12b848bdc
Merge pull request 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 from emersion/output-damage 7 years ago
Drew DeVault f5a9bd5cb7
Merge pull request from swaywm/move-cmd-full 7 years ago
Drew DeVault 640232eb22
Revert "Break everything^W^WUse wlr_box for sway_container" 7 years ago
emersion 0c627918bb
Damage all surfaces when damaging whole container 7 years ago
Drew DeVault 764489e737 Break everything^W^WUse wlr_box for sway_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 290c916290
Send surface enter/leave events to view children 7 years ago
emersion 641807d920
Handle unmanaged surfaces motion 7 years ago
emersion d65d001aa5
Fix desktop_damage_whole_surface 7 years ago
emersion 076bedb85e
Add container_damage_whole 7 years ago
emersion 1c91d0c10f
Add damage tracking for xwayland unmanaged surfaces 7 years ago
emersion 07f3bb3ad1
Handle xwayland configure requests for unmanaged surfaces 7 years ago
emersion a528aea2ee
Make xwayland surface destroy more foolproof 7 years ago
emersion 7ce1038478
Fix xwayland unmanaged surfaces 7 years ago
emersion f5e5b1819b
Track damage of xdg-shell-v6 popups 7 years ago
emersion dcd15a2d3d
Implement shell views 7 years ago
emersion 44b8d30f52 Use new wlr_*_surface_at functions 7 years ago
emersion 8eff00f723 Remove unused SWAY_VIEW_TYPES 7 years ago
Tony Crisci fc9398a42e Implement opacity command 7 years ago
Tony Crisci 741e3959e3 Merge branch 'wlroots' into split-containers2 7 years ago
Drew DeVault deb63eda88
Merge pull request from emersion/fix-multiple-outputs 7 years ago
Tony Crisci a001890fb8 move workspace create to workspace.c 7 years ago
emersion c0554d23d3
Fix rendering with multiple outputs 7 years ago
Tony Crisci 481a8275c1 address feedback 7 years ago
emersion 5cd9457247
Send enter event to layer shell surfaces 7 years ago
Tony Crisci cba258e16a move output code out of the tree 7 years ago
Tony Crisci 09d448ea2d unify container destroy functions 7 years ago
Drew DeVault 56078edd65 Give exclusive focus to layers above shell layer 7 years ago
Drew DeVault 623a08e14f Identify topmost interactive layer post-arrange 7 years ago
emersion a4a241697a
Merge branch 'wlroots' into view-redesign 7 years ago
emersion 2f64ce86c4
Xwayland unmanaged views aren't views anymore 7 years ago
Tony Crisci 5e024278a6 Merge branch 'wlroots' into seat-fixes 7 years ago
Drew DeVault b2d871cfe2 Partially implement move command 7 years ago
emersion 61fabede14
Address review comments 7 years ago
Tony Crisci 0828c77251 rename input-manager functions 7 years ago
Tony Crisci e677c5b204 rename seat functions 7 years ago
emersion 1d68f9ecca
Add sway_view_impl 7 years ago
emersion b2c2ee693b
Introduce common functions to create, map, unmap, destroy views 7 years ago
emersion 8aedc042ee
Fix two segfaults when destroying outputs 7 years ago
Drew DeVault 89ca6676be
Merge pull request from emersion/xwayland-configure-position 7 years ago
emersion 98b67e2399
Fix xwayland configure in set_size 7 years ago
emersion 0f7936735c
Fix unmanaged views rendering on all outputs 7 years ago
emersion 6579717994
Fix xwayland configure position 7 years ago
emersion 5f3fce7519
Maximize xwayland views by default 7 years ago
emersion 139f80b0f0
Handle map/unmap events in xdg-shell-v6 7 years ago
emersion 3a68c012a9
Remove debug, add explicit TODO 7 years ago
emersion 50219564c2
Fix white screen due to bad cast 7 years ago
emersion a776ecbb86
Add lite damage tracking 7 years ago
Tony Crisci 7e0d430a0c
Merge branch 'wlroots' into wlroots-xwayland-map 7 years ago
Drew DeVault 49379dd0fc Fix workspace deletion edge cases 7 years ago
emersion cf09ea184b
Use the new map/unmap events for xwayland views 7 years ago
Drew DeVault a5e457d59a Add xwayland views to focused container 7 years ago
emersion 681f38c878
Fix segfault on xwayland unmanaged view unmap 7 years ago
emersion 28cb412b0d
Unify initial xwayland view mapping with map handler 7 years ago
emersion 981827ca42
Cleanup and remove global renderer reference 7 years ago
Drew DeVault 2d46050281 Fix crash when override redirect views close 7 years ago
Drew DeVault 00d450e554 Use output coords for layer surfaces 7 years ago
Drew DeVault f26ecd9f58 Merge remote-tracking branch 'origin/wlroots' into swaybar-layers 7 years ago
Tony Crisci 8f490d7d2d Fix oversights from previous pull request 7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request from swaywm/revert-1647-refactor-tree" 7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree" 7 years ago
Drew DeVault 6b7841b11f
Merge pull request from acrisci/refactor-tree 7 years ago