Commit Graph

192 Commits

Author SHA1 Message Date
Leo
0cd3f324c1
Rework close button (#1848) 2024-02-13 09:58:50 -08:00
Leonhard
5d2d96d7c7
Remove corner mask in favor of rounded background corners (#1846) 2024-02-10 16:03:29 +00:00
Corentin Noël
1550761465
Add support for Mutter 46 (#1825) 2024-01-12 16:03:36 -08:00
Leo
433c4e911b
Increase window-clone shadow size (#1781)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-10-27 18:29:20 +00:00
lenemter
19ec1174b8 PiP: Use different cursors for dnd and resize 2023-10-26 10:42:56 -07:00
Corentin Noël
151e5f0175 Add support for Mutter 45 2023-09-15 10:07:28 +02:00
Leo
441b5bbc9a
PiP: Check workspace before hiding the window (#1708) 2023-07-06 03:33:17 +00:00
Leo
5c170b2e4e
Deduplicate ShadowEffect class (#1691) 2023-06-13 12:25:46 -07:00
Corentin Noël
10e70a8a49
Avoid to use Gdk constants when Clutter should be used (#1596) 2023-04-14 17:24:18 +09:00
David Hewitt
51d8eee427
PiP PopupWindow: Support floating point scale factor (#1634) 2023-04-07 19:27:23 +02:00
David Hewitt
53da4ea072
Support floating point scale for resize button (#1630) 2023-04-07 14:40:20 +02:00
David Hewitt
e5ef835de1
IconGroup: Support floating scale factors (#1628) 2023-04-07 10:44:15 +02:00
David Hewitt
37f65895f2
maskcorners: Scale corner masks per-monitor (#1620) 2023-04-05 16:29:23 +02:00
Leo
75f279e0ff
PiP: Use constraints (#1608) 2023-04-04 19:13:45 +00:00
David Hewitt
de41984e90
Get MonitorManager from context (#1604) 2023-04-01 13:18:15 +01:00
Leo
aebe2d5139
Ignore autorepeat for some keybindings (#1583)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-03-25 20:17:12 +00:00
Bobby Rong
6ab08256e0
build: require mutter 42 (#1496) 2023-02-21 13:29:21 +09:00
Leo
f2c2d438e2
PiP: Respect animations key (#1546) 2023-02-20 16:45:33 +09:00
Gran PC
2473752de3
Fix PiP positioning offset (#1507) 2023-02-19 12:41:31 +09:00
Leo
e212898742
Always use private keyword (#1543)
Co-authored-by: Danielle Foré <danielle@elementary.io>
2023-02-18 17:32:32 +00:00
Leo
37c3e8810b
PIP: Fix log spam (#1521) 2023-02-12 13:16:18 +00:00
lenemter
9d3adf507e Use explicit Clutter and Meta namespaces 2023-02-12 14:13:20 +01:00
Leo
5bdfd5a1f2
ShadowEffect: inline namespace, copy to PIP (#1520) 2023-02-06 12:35:06 +09:00
David Hewitt
38eddf28ea Simplify 2022-10-14 16:11:29 +02:00
David Hewitt
08b2930c52 PiP: Fix window resizing on Mutter 42 2022-10-14 16:11:29 +02:00
José Expósito
f74d8fdad5
Granite drawing removals (#1428)
* Drawing: Migrate functions removed from Granite 7

Some drawing utilities used by Gala were removed from Granite 7:
https://github.com/elementary/granite/pull/603

Add them to Gala.

* Drawing: Use drawings functions from Gala instead of Granite
2022-05-22 18:02:45 +00:00
Corentin Noël
9641704ec7
Use Clutter.Grab with Mutter 42 (#1407) 2022-04-21 15:33:24 -07:00
Corentin Noël
cdcb87afcb Update bindings to latest Mutter
Update to mutter 42.beta
2022-03-10 11:20:47 +00:00
luzpaz
faac78782c
Fix various typos (#1310)
* Fix various typos

Found via `codespell -q 3 -S *.po`

* Fix deamon->daemon

Co-authored-by: Jeremy Wootten <jeremy@elementaryos.org>
2021-11-20 16:56:53 +00:00
José Expósito
c99a1d00e7 pip: Place the window in screen on click
Show the PiP window when is off screen and the users clicks on it.
2021-08-25 16:31:52 -06:00
José Expósito
143eb26d20 pip: Add multi-monitor support to off screen window
Avoid placing the window off screen when it is actually in a different
monitor.
2021-08-25 16:31:52 -06:00
José Expósito
89e13c03d9 pip: Allow to place the window off screen
Place the window off screen when the 50% of the window width and/or
height (OFF_SCREEN_VISIBLE_PIXELS) so only OFF_SCREEN_VISIBLE_PIXELS
of the window are visible.
2021-08-25 16:31:52 -06:00
José Expósito
c0ab5dd437 pip: Refactor update_screen_position
Move the logic to place the PiP window in a position that is 100%
visible to its own method (place_window_in_screen).

Refactor, no functional changes.
2021-08-25 16:31:52 -06:00
Corentin Noël
4aec79ae0d Reduce the number of warnings
No functional change.
2021-08-18 05:49:00 +00:00
Corentin Noël
87d51c50fb
Add initial support for Mutter 40 (#980) 2021-08-16 16:23:46 -06:00
José Expósito
628a47709d pip: Hide close and resize badges after dragging
DragDropAction changes the "reactive" property of the actors it handles.

Make the window reactive when drag & drop finishes.

Fix #1035
2021-07-13 14:23:37 -06:00
José Expósito
7747261b15 Revert "pip: Hide close and resize badges after dragging"
This reverts commit 3c47d9dc54.
2021-07-13 14:23:37 -06:00
José Expósito
3c47d9dc54 pip: Hide close and resize badges after dragging
DragDropAction changes the "reactive" property of the actors it handles.

Add the DragDropAction to the PiP window so it keeps being reactive.

Fix #1035
2021-07-10 14:26:40 -06:00
JoseExposito
854059f44c Move the zoom plugin to the core code 2021-04-02 10:04:00 -07:00
JoseExposito
c617f2e374 Remove old code 2021-03-01 10:25:46 -08:00
Daniel Foré
eb63133eda
Plugins/MaskCorners: Code style cleanups (#1055) 2021-02-17 23:16:07 -08:00
Daniel Foré
1aaa95740c
MaskCorners: Use GLib.Settings (#1046) 2021-02-10 15:46:05 -07:00
José Expósito
1b152c1d1b
Multi-touch gestures aren't pixel-precise at low speeds + D-Bus (#1017) 2021-02-02 12:05:50 -08:00
José Expósito
49d35796d0
#989: Multi-touch gestures have no upper speed limit (#1006)
* Initial test

* #989: Add maximum velocity to gesture update

* Simplify the GestureAnimationDirector moving the min/max times to the constructor

* Fix merge conflict

* Revert change
2021-01-06 14:15:06 -08:00
Corentin Noël
c74298b49c Bump Mutter to 3.36 2021-01-04 13:33:03 -08:00
Corentin Noël
57c3608c51 Bump Mutter to 3.30 2021-01-04 13:33:03 -08:00
José Expósito
933ca7bf7f
Multi-touch support (#983) 2020-12-16 13:04:52 -08:00
David Hewitt
ebd064f9c8
pip: Remove deprecated Clutter.DragAction (#968) 2020-11-16 16:53:06 +01:00
David Hewitt
dd21895437
pip: Use DragDropAction for move (#959) 2020-11-09 10:15:00 +01:00
Marius Meisenzahl
e8801734d5
Add feedback if zooming out is not possible (#884)
* Add feedback if zooming out is not possible

* Main: Cuddle else

Co-authored-by: Daniel Foré <daniel@elementary.io>
2020-07-22 10:07:14 -07:00