Commit Graph

129 Commits

Author SHA1 Message Date
Leo
2bf7197e7e
move_window: require timestamp (#1831) 2024-01-18 19:30:32 +09:00
Leo
15ef7cf3d6
switch_to_next_workspace: require timestamp (#1830) 2024-01-18 19:24:49 +09:00
Leo
f5391aee9d
Remove expose-windows shortcut (#1795) 2023-11-09 21:49:22 +00:00
Leo
aa1dc31a1d
DragDropAction: pass correct coordinates to drag_begin (#1791) 2023-10-30 09:01:15 +00:00
Leo
82b60f140a
WorkspaceManager: count windows on primary monitor only (#1789) 2023-10-30 09:45:58 +01:00
Corentin Noël
151e5f0175 Add support for Mutter 45 2023-09-15 10:07:28 +02:00
Leo
5804d7fb08
Remove PluginFunction.DESKTOP (#1747) 2023-08-29 20:15:02 +09:00
Leo
b94ab5e8cd
Handle move-to-workspace-1-12 shortcuts directly (#1721)
Let it take the same codepath as the move to left/right
2023-07-11 14:46:48 +02:00
Leo
5c170b2e4e
Deduplicate ShadowEffect class (#1691) 2023-06-13 12:25:46 -07:00
David Hewitt
07f7c21482 lib: Deprecate get_ui_scaling_factor
Get the scaling factor for the monitor you are drawing to with
`Meta.Display.get_monitor_scale` instead.
2023-04-23 14:27:48 +02: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
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
a630015b89
Utils: Remove bell (#1621) 2023-04-05 16:49:12 +02:00
David Hewitt
37f65895f2
maskcorners: Scale corner masks per-monitor (#1620) 2023-04-05 16:29:23 +02:00
Leo
f7e8225775
Add previous/next workspace to available actions (#1614) 2023-04-04 19:02:44 +00:00
Leo
530a66ea2d
DnD: Don't disable reactivity (#1610) 2023-04-04 18:54:09 +00:00
Leo
c0a77ade59
DragDropAction: Check that actor was actually clicked (#1591) 2023-04-04 18:50:59 +00:00
Leo
0605f63c49
WindowIcon: Cleanup (#1561) 2023-02-21 21:28:31 -08:00
Leo
3c98ecac06
DragDropAction: Activate click signal on release (#1560) 2023-02-21 21:24:01 -08:00
Leo
b3e5d7af28
Cleanup after #1557 (#1559) 2023-02-22 05:09:04 +00:00
Leo
4e00b82dd7
Remove some deprecations and fix compile warnings (#1544) 2023-02-21 19:05:43 +00:00
Leo
d0abb9c0e7
Fix window maximize and unmaximize animations (#1557) 2023-02-21 10:57:33 -08:00
Bobby Rong
6ab08256e0
build: require mutter 42 (#1496) 2023-02-21 13:29:21 +09:00
Leo
aa96c72de7
Revert "Draft: Fix PiP window being undraggable" (#1553) 2023-02-20 08:24:57 -08:00
Gran PC
37fea81035
Fix PiP window being undraggable (#1506) 2023-02-19 13:02:39 +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
David Hewitt
9e3b506d8f DnD: Ignore clicks on destination-only actors 2022-10-14 16:37:29 +02:00
David Hewitt
ea26a61029 AppSystem: make wmclass nullable 2022-10-14 15:15:09 +02:00
Corentin Noël
fe1d3d031f
Add posix to the list of Vala dependencies (#1472)
We are now exposing Posix.pid_t in the public API for the Application management.
2022-10-13 08:07:38 +01:00
Corentin Noël
7c540a2a06
App: Implement Applications Management (#1241)
This allows us to completely replace libbamf in some specific cases (like system shell elements)

Co-authored-by: Danielle Foré <danielle@elementary.io>
2022-10-10 17:47:37 -07:00
David Hewitt
47c4e8346b
DnD: Stop using captured_event in Mutter 42 (#1468) 2022-10-06 13:32:04 -07: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
Jeremy Wootten
7a13e044bb
Fix compile warnings (#1384)
* Fix GObject property warnings

* Fix hiding set_size function

* Fix duration type conversion

* Fix faulty conflict resolution

* Do not clamp duration

* Reduce indentation

* Return unowned region

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>

* Return unowned custom region

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>

* Return unowned keybinding filter

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>

* Return unowned Xrectangle

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>

* Codestyle

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>

* unowned var filter

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>

* unowned var custom_region

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>

Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>
2022-04-05 10:01:39 +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
Corentin Noël
c0ab9516dc deps: Put the right libmutter name in the .deps file
Avoid double inclusion in plugins.
2021-08-31 16:41:02 +02:00
Corentin Noël
4aec79ae0d Reduce the number of warnings
No functional change.
2021-08-18 05:49:00 +00:00
José Expósito
92bc6b8a1e
Fix #1074: Window menu says Unmaximize when tiled (#1087) 2021-03-29 13:39:11 +02:00
José Expósito
ed77206168
Fix #955: Add Take Screenshot to the header context menu (#1068) 2021-03-05 07:48:28 +01:00
JoseExposito
104f819e76 Switch workspace animation use GestureTracker 2021-03-01 10:25:46 -08:00
José Expósito
3a0c856d7a
Multitasking view 1:1 switch desktop animation with scroll events (#1051) 2021-02-22 16:34:43 -08:00
David Hewitt
9d15793049
AppCache: Rebuild in a thread (#1021) 2021-01-17 16:35:59 +01: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
Corentin Noël
381e1d6474
Initial support for mutter-7 (#854)
* meson: Add support for libmutter-7 in the build system

This commit only adds support within the build system, no further attempt to make it build has been tried.

* mutter: Update the .vapi for libmutter-7

* Fix vapi syntax

* Make it work with mutter-7

* Re-enable PIP plugin

* Fix screenshot code

* Fix type

* Cleanup workspaces sooner

So we don't see the workspace removed animation on login

Co-authored-by: Cassidy James Blaede <cassidy@elementary.io>
Co-authored-by: David Hewitt <davidmhewitt@gmail.com>
2020-11-17 12:11:52 +01:00
David Hewitt
dd21895437
pip: Use DragDropAction for move (#959) 2020-11-09 10:15:00 +01:00
Julian Raschke
f1be427cc8
Rename 'Minimize' to 'Hide' (#953) 2020-11-03 12:34:59 -08:00