Commit Graph

16 Commits

Author SHA1 Message Date
Leonhard
29da53aedc
Fix barriers (#1908) 2024-05-26 12:23:43 -07:00
Danielle Foré
5c68c1f481
Barrier: fix build with mutter 46 (#1895) 2024-04-08 13:20:13 +09:00
Leonhard
09e09792be
Add Gala.Barrier (#1855) 2024-03-18 10:57:10 -07:00
Corentin Noël
5644c66724 Update Mutter 46 support
Update to the latest version on time.
2024-03-06 18:27:48 +01:00
Leo
c62024acd2
Add an option to disable hotcorners in fullscreen (#1806) 2024-01-02 12:08:43 -08:00
Corentin Noël
151e5f0175 Add support for Mutter 45 2023-09-15 10:07:28 +02:00
David Hewitt
fb2d244112
HotCorners: Support floating point scale factors (#1627) 2023-04-06 14:17:33 +01:00
David Hewitt
de41984e90
Get MonitorManager from context (#1604) 2023-04-01 13:18:15 +01:00
Sergey Zolotarev
1487660812 Don't reconfigure hot corners on monitors_changed event when there are no monitors 2022-12-22 11:40:57 +01:00
Corentin Noël
40bd02c621 Update to latest mutter-11 changes
Add upstream sealed classes
2022-09-23 11:34:38 +02:00
Josh Mars
f09b95c564
hotcorners: Add a minimum time delay between trigger and re-trigger events(#1421) 2022-05-22 19:09:14 +00:00
José Expósito
e2b86b2392 hot corners: Pressure corner to trigger
In order to avoid accidental triggers, don't trigger the hot corner
until a given threshold is reached.

Fix #1100
2021-09-01 08:55:14 +02:00
José Expósito
2eb419ea88 hot corners: Pressure corner to trigger again
When the mouse pointer pressures the hot corner after activation,
trigger the action again when a given threshold is reached without
requiring  to leave and enter the hot corner again.

Fix #1078
2021-09-01 08:55:14 +02:00
José Expósito
c483cbe663 hot corners: Release the barrier after pressure
When the mouse pointer pressures the barrier without activating the hot
corner, release it when a given threshold is reached.
2021-09-01 08:55:14 +02:00
José Expósito
0696ede909 hot corners: Use barriers
Use Meta.Barrier to implement the hot corner functionality instead of
using a Clutter.Actor.

This approach makes easier to trigger the hot corner in multi-monitor
setups and avoids capturing events accidentally.

Fix #719
Fix #1054
2021-09-01 08:55:14 +02:00
José Expósito
a5f32b3331 hot corners: Refactor hot corners
Move the hot corners code from the WindowManager to its own class.

Refator, no functional changes.
2021-09-01 08:55:14 +02:00