Commit graph

7070 commits

Author SHA1 Message Date
Erik Reider 60ecc42e42 Added comment about workspace_gesture_parse reasoning 2024-01-26 19:50:24 +01:00
Erik Reider dec948dc80 Moved easing functions into their own file 2024-01-26 19:46:13 +01:00
Erik Reider 8193bb6e4b Fixed switch-statement nit 2024-01-26 19:38:19 +01:00
Erik Reider 84c1b9c7f3 Removed unneeded condition check in render_floating func 2024-01-26 19:33:11 +01:00
Erik Reider 5bb8877abe Made fullscreen rendering a bit more clear 2024-01-26 19:32:32 +01:00
Erik Reider d7ca31c596 Removed for-loop in render_workspace 2024-01-26 19:29:28 +01:00
Erik Reider 4f9ac2dfbb Fixed tracker value being updated even if percent isn't
Fixes long swipes still updating the tracker value even if the percent wasn't changed
2024-01-25 19:49:12 +01:00
Erik Reider b491ac42b0 Code cleanuo: Simplified adjust_* functions 2024-01-25 18:59:43 +01:00
Erik Reider 1fedb1a1ee Reset swipe on other cursor rebase 2024-01-24 11:13:30 +01:00
Erik Reider 0da822151d Unset focus while swiping 2024-01-24 03:35:02 +01:00
Erik Reider a12a8ea7b0 Merged workspace_output_next and workspace_output_next_wrap 2024-01-24 03:11:39 +01:00
Erik Reider 7214db9c2d Updated default threshold to 50% 2024-01-24 02:29:55 +01:00
Erik Reider bd3745c6ed Draw rect and shadow on "Spring effect" for fullscreen views 2024-01-24 02:29:55 +01:00
Erik Reider 83e0872e79 Fixed regular views rendering behind fullscreen ones + code cleanup 2024-01-24 02:17:44 +01:00
Erik Reider 0a619a03ab Use Ease-Out when swiping into the non-wrapped edges 2024-01-23 18:55:12 +01:00
Erik Reider 54daaa9ed2 Updated swipe percentage calculation to also use avg_velocity 2024-01-23 18:54:46 +01:00
Erik Reider 42fcd6c86d Fixed fullscreen sometimes segfaulting 2024-01-22 19:18:31 +01:00
Erik Reider 288b04d740 Fixed gesture detecting every finger combination instead of the specified one 2024-01-22 18:58:35 +01:00
Erik Reider 1113e5653a Added workspace_gesture_threshold config option 2024-01-22 18:25:07 +01:00
Erik Reider 0b521abe88 Added workspace_gesture_wrap_around config option 2024-01-22 18:25:07 +01:00
Erik Reider 519bfc4ecc Added workspace_gesture_spring_size config option 2024-01-22 18:02:32 +01:00
Erik Reider 3480479f17 Moved to bindworkspacegesture instead of bindgesture 2024-01-22 17:47:52 +01:00
Erik Reider 067613854b Added vertical gesture support 2024-01-22 16:40:02 +01:00
Erik Reider fdf764d3f6 Added "Spring effect" when trying to swipe past limits 2024-01-22 15:39:34 +01:00
Erik Reider 29c481da95 Workspace code cleanup 2024-01-22 15:39:34 +01:00
Erik Reider 3ad50f9627 Clear transformed fullscreen damage 2024-01-22 14:28:14 +01:00
Erik Reider 8da7c5080c Fixed popups not compensating for transition 2024-01-22 13:19:32 +01:00
Erik Reider 9e551680db Try switching workspace on gesture cancel instead of reset 2024-01-22 12:21:57 +01:00
Erik Reider 8afad34fd5 Render fullscreen containers over all layers 2024-01-22 12:17:10 +01:00
Erik Reider 8440285e8d Only damage the focused output 2024-01-22 12:14:45 +01:00
Erik Reider 44f54b9933 Removed workspace_offset command 2024-01-21 20:01:39 +01:00
Erik Reider 0c6d69b7fe Added gesture support 2024-01-21 20:01:11 +01:00
Erik Reider 6552778dd6 Fixed scroll not resetting to 0 when manually switching ws 2024-01-21 19:54:24 +01:00
Erik Reider 0b86078eea Fixed transition not compensating for workspace gaps 2024-01-21 19:54:03 +01:00
Erik Reider 4e9e7c8d1a Initial implementation of workspace movement (without gestures) 2024-01-21 13:53:11 +01:00
famfo f0ecffe593
Fix shadow_offset position (#263) 2024-01-05 12:43:07 +01:00
Erik Reider 303b7dfb69
Fixed #258 blur regression (#261) 2024-01-05 02:47:43 -05:00
ozwaldorf 04b657b58c
feat: blur tweaks (#258) 2024-01-03 12:38:44 -05:00
Erik Reider 1c5c60d928
Blur damage compensation fixes (#259)
* Increased blur size to match what WayFire uses

* Fix damage compensation not being scaled
2023-12-28 11:10:05 +01:00
famfo ca42d41453
Implement shadow_offset (#255) 2023-12-22 01:08:09 -05:00
Erik Reider 5e866d0345
Limit corner radius size to the smallest box dimension (#251)
One example would be the tiling indicator sometimes experiencing a "sharp" edge when the radii was larger than the
height/width
2023-12-17 01:00:22 +01:00
Erik Reider fd0f4ea54f
Readds check if the floating child is in a container for xray (#250) 2023-12-17 00:59:06 +01:00
Mubin ac52c2874e
Update README.md (#243)
Simple fix in README.
2023-12-08 00:30:28 -05:00
Erik Reider 7c8d46bbaa
Fixed AUR Github Action not including sway-portals.conf (#247)
* Added sway-portals.conf to AUR publish Action

* Bumped PKGBUILD pkgrel
2023-12-03 18:46:09 +01:00
Elias Elwyn 7c75b21933
fix(PKGBUILD): support new portals req for XDG_CURRENT_DESKTOP (#239)
Integrates commits c85a455e and 2f9c63b0 from extra/sway.

Copied from c85a455e:

> As of version 1.17, xdg-desktop-portal requires desktops to declare
> which portals should be used. For Sway, this requires a file
> /usr/share/xdg-desktop-portal/sway-portals.conf (or a local user
> config).
>
> A reasonable default is to use GTK for the file picker (as wlr doesn't
> have file picker support) and wlr for screencast/screenshot support.
> Fedora does this similarly. [1]
>
> Upstream is not interested in shipping a configuration file [2] so we
> need to do it downstream.
>
> [1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf
> [2] https://github.com/swaywm/sway/issues/7773

c85a455eb6
2f9c63b053
2023-11-26 20:57:41 -05:00
Elias Elwyn e6ddd16a1b
chore: Update pkgrel in PKGBUILDs (#238)
Update pkgrel twice for changes in #237 and #240
2023-11-26 01:32:08 -05:00
Ben ab6dc54e6a
fix: aur build failed: sd-bus-provider set to auto (#240)
> swayfx/meson.build:92:2: ERROR: Assert failed: sd-bus-provider must
not be set to auto since auto_features != auto
2023-11-25 11:53:46 -05:00
Danie 9cd02fc480
Update PKGBUILD to fix breakage due to wlroots0.17 (#237) 2023-11-24 15:46:50 -05:00
eri 2d6944dc14
feat: add shadow color for inactive windows (#230) 2023-10-23 10:58:47 -04:00
Erik Reider d89c365106
Add layer effect option to ignore transparent regions when blurring (#159) 2023-09-20 21:35:49 -04:00