summaryrefslogtreecommitdiff
path: root/sway/desktop
AgeCommit message (Collapse)Author
2022-12-07[Feature] Dim inactive windows (#66)Erik Reider
2022-11-30fix: titlebars on containers with smart_gaps on and a large corner_radius ↵Will McKinnon
now render as expected
2022-11-23feat: rounded_corners support smart_gaps (#62)William McKinnon
2022-11-23render refactor: implement decoration_data struct (#61)William McKinnon
2022-11-18fix: delete all shaders on fx_renderer create failureWill McKinnon
2022-11-18fix: saturation applies to popupsWill McKinnon
2022-11-11style: shader style fixesWill McKinnon
2022-11-11feat: added support for external texturesWill McKinnon
2022-11-11feat: render tiling move indicator with round cornersWill McKinnon
2022-11-11Per application color saturation support (#21)Erik Reider
* Initial implementation without fullscreen support * Limit saturation to 2 * Fixed saturation not working for fullscreen applications like CSGO * Fixed saturation ignoring border radius * Updated README and sway.5 man page * Rebased from Master * Added command to README * Fixed nitpicks
2022-11-11feat: add round titlebars (#26)William McKinnon
2022-11-10style: moved corner radius scaling out of fx callWill McKinnon
2022-11-10refactor: move shaders to individual filesWill McKinnon
2022-11-01bug: fix label build failureWill McKinnon
2022-10-26style: cleaned up some frag shadersWill McKinnon
2022-10-26fix: corner borders no longer render when borders are offWill McKinnon
2022-10-26refactor: improved rounded corner shaderWill McKinnon
2022-10-21refactor: move corner_radius to container structWill McKinnon
2022-10-20style: cleaned up commentsWill McKinnon
2022-10-20style: cleaned up corner rendering functionWill McKinnon
2022-10-15refactor: moved frag shader init to funcWill McKinnon
2022-10-09feat: add round borders (#22)William McKinnon
Co-authored-by: Erik Reider <[email protected]>
2022-08-29Add Anti-Aliased Corner Radius (#18)William McKinnon
2022-08-25moved shaders to headerWill McKinnon
2022-08-21Add rounded corners (#9)William McKinnon
2022-08-21Render rect with fx_renderer (#14)William McKinnon
* initial fx_render_rect work * fixed rect rendering
2022-08-15Revert "merge sway master"Will McKinnon
This reverts commit 7460d9f565092836f81b917a040caff57142d91a.
2022-08-13Add official fx renderer (#3)William McKinnon
2022-04-27merge sway masterWilliam McKinnon
2022-01-21transaction: destroying nodes aren't hiddenRouven Czerwinski
Commit 37d7bc69986f ("transaction: Only wait for ack from visible views") introduced a check which uses view_is_visible() to check if a view is still visible on the screen. However view_is_visible() will early return in case the node is in the destroying state. This is incorrect for transactions, since a destroying view which is visible will trigger configure events for other clients. This bug was visible when repeatedly opening and closing two views side by side, since we ignore the destroying node we get a frame where the still open view is shown with the old configure values and the rest is the desktop background. The next frame is than correct again. Fix this by considering destroying views as visible, we correctly wait for them and send the configure events to other views in time, fixing the background flicker. Fixes #6473 (cherry picked from commit e4909ab4a3514d9b3bfb01473cd3cd1704c8cd05)
2022-01-16xdg-shell: use toplevel geometry to adjust the popup boxAleksei Bavshin
`popup_unconstrain` uses view coordinates to init the output box for popups. However wlroots expects the box to be set in a toplevel surface coordinate system, which is not always equal to view. The difference between those is a window geometry set via xdg-shell. GTK4 reserves some space for client-side decoration and thus has a window with top left corner not matching to (0, 0) of a surface. The box calculated without taking that into account was slightly shifted compared to the actual output and allowed to position part of the popup off screen. (cherry picked from commit aa443629b58e1d3d10cf64e689b661c076808d66)
2022-01-09Destroy sub-surfaces with parent layer-shell surfaceSimon Ser
Closes: https://github.com/swaywm/sway/issues/6337 (cherry picked from commit e2b4c573d6506250c77f01512bc07c72996cd363)
2021-12-17output: change output::destroy to output::disableRonan Pigott
This changes output::destroy to output::disable and emits it only once when an output is disabled, instead of twice in succession.
2021-12-10Add focused_tab_titleVsevolod
2021-12-09Fixup headless output namesSimon Ser
We use the headless backend to create a special fallback output used when no other output is connected. However this messes up the "real" headless output names users have come to expect (e.g. currently the first headless output will be named "HEADLESS-2" instead of "HEADLESS-1"). Fix this by setting the output name with [1]. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3395
2021-12-06output: remove surface buffer damage checkKirill Primak
A surface can have effective damage even without any buffer damage committed.
2021-11-25sway: replace noop_output by fallback_outputSimon Zeni
wlroots removed the support for the noop backend. Instead we rely on the headless backend to provide the fallback output.
2021-11-18sway: create wlr_renderer and wlr_allocatorSimon Zeni
wlroots now required the compositor to create its own wlr_renderer and wlr_allocator to initialize the wlr_output
2021-10-19xwayland: Clear wlr_xwayland_surface in handle_destroyDavid Rosca
If the destroyed xwayland view is in transaction, it won't be destroyed immediately. wlr_xwayland_surface then becomes dangling pointer. Closes #6605 Closes #5884
2021-10-15Handle present events with NULL timespec fieldSimon Ser
See [1]. [1]: https://github.com/swaywm/wlroots/pull/3245
2021-10-07Fix compile after wlroots commit c3e54021f8bbf3ec1c1e5906459be0ae85f5fb8cTassilo Horn
2021-10-04idle_inhibit: Fix tree view after changes in commit 152a559eBartel Sielski
Commit 152a559e replaced the view pointer in the inhibitor struct with a pointer to the wlr_inhibitor for application inhibitors. But this was not changed in the sway_idle_inhibit_v1_application_inhibitor_for_view function. This caused a bug in the sway tree view where the application inhibitor is always "none".
2021-10-01Chase wlr_xdg_surface breaking changesSimon Ser
See [1]. [1]: https://github.com/swaywm/wlroots/pull/3106
2021-09-25layer-shell: fix commit handlerKirill Primak
This commit makes sure the extents are kept up-to-date, fixes not damaging the surface if its layer shell-specific state didn't change, and adds a check if the layer shell-specific state didn't change but the surface got mapped/unmapped, which could affect keyboard focus.
2021-09-24layer-shell: check `committed` bitmaskKirill Primak
This avoids infinite configure-ack_configure-commit loop.
2021-09-23layer-shell: chase wlr layer surface refactorKirill Primak
2021-09-21Revert "xdg_shell: schedule configure on maximize requests"Kirill Primak
This reverts commit 4dd46f06acc520449b980a5ea52be544cc5bfb6d, as the logic is now handled by wlroots.
2021-09-21xdg-shell: chase wlr xdg toplevel refactorKirill Primak
2021-09-20Add -Dnoscanout debug optionSimon Ser
This can help debugging direct scan-out issues, such as [1]. [1]: https://github.com/swaywm/wlroots/issues/3185
2021-09-09introduce wlr_drm_lease_v1Simon Zeni
This prevents sway from extending the desktop to i.e. VR headsets, and makes them available for DRM leasing. Non-desktop wlr_outputs will be offered through the wlr_drm_lease_v1_manager interface for client to lease.