127 Commits (4c28916d685714a74048d798096a6f853bf61000)

Author SHA1 Message Date
Ryan Dwyer 0a9ff774ad Center surface inside container when it's too small
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
6 years ago
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
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
Ryan Dwyer be9348d25c Move view {x,y,width,height} into container struct
6 years ago
Ryan Dwyer 60a1d79de7 Rebase the cursor after applying transactions
6 years ago
Ryan Dwyer bdae625cb3 Rebase the cursor after mapping a view
6 years ago
Ryan Dwyer 93ec1af4d9 Fix popup damage issues when toplevel and/or popup uses geometry
6 years ago
Rouven Czerwinski 892446a0b6 view: move arrange_workspace into view_map
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 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 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 d4e80cf301 Rename OP_MOVE to OP_MOVE_FLOATING
6 years ago
Ryan Dwyer cf32d5d776 Float views when min == max on either dimension
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 f5b9815128 Prepare arrange code for type safe arguments
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs
6 years ago
Ryan Dwyer b0a5f3a25f Store geometry in the view and handle any floating view resizing
6 years ago
emersion b3ee9af0c8 Add view_get_geometry
6 years ago
Ryan Dwyer c3ef36d6b5 Simplify transactions
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
6 years ago
emersion 9d578e0a0f Handle views created after decoration mode is sent for xdg-shell
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
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
emersion 238c8afc74 Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6
6 years ago
Ryan Dwyer cf5f5eaf8c Deny move/resize events for tiled xdg shell views
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
6 years ago
Ryan Dwyer 9df660ee31 Store last button and use it when views request to move or resize
6 years ago
Ryan Dwyer ff445cc855 Implement xdg shell request_move and request_resize events
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
emersion efda33b285 Simplify popup_unconstrain
6 years ago
emersion a96f1c22fe Add xdg-positioner support
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Drew DeVault d43500831a
Updates per wlroots#1076
6 years ago
Ryan Dwyer d467452e5e Fix damage on swaybar when view requests to exit fullscreen
6 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
6 years ago
Dominique Martinet bc1e99305a xdg_shell: listen to fullscreen request on map
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 e0d0e8f840 Revert "Don't unmaximize floating views"
6 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
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 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 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Ryan Dwyer d466b8fa7b Don't auto float xdg views if their dimensions are not set
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 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 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 aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
emersion b350e8ec82
xdg-shell: make all toplevels tiled
7 years ago
Ryan Dwyer 8432d8a15e xdg_shell: Replace get_prop with get_string_prop
7 years ago
emersion 88d9d43b36
Add xdg-shell stable support
7 years ago