Bilal Elmoussaoui
acb2c4b6be
flatten-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:30:23 +01:00
Bilal Elmoussaoui
4a2f7a51e3
stage-manager: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:30:21 +01:00
Bilal Elmoussaoui
4425636219
clutter: Move autoptr cleanup function defintion
...
So we can drop the header file
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:29:47 +01:00
Bilal Elmoussaoui
84dabd9f8b
interval: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:29:44 +01:00
Bilal Elmoussaoui
43d6f73714
grid-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:47 +01:00
Bilal Elmoussaoui
ba689b86ba
flow-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:47 +01:00
Bilal Elmoussaoui
5b527ac89b
fixed-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:40 +01:00
Bilal Elmoussaoui
23d9210806
box-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:26 +01:00
Bilal Elmoussaoui
764c3ef602
blur-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:08 +01:00
Bilal Elmoussaoui
9bd12d7e88
page-turn-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:27:46 +01:00
Bilal Elmoussaoui
581343dc9a
deform-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:27:42 +01:00
Bilal Elmoussaoui
accff6b937
shader-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:26:20 +01:00
Bilal Elmoussaoui
7b32f06f44
colorize-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:25:03 +01:00
Bilal Elmoussaoui
99501482df
offscreen-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:24:20 +01:00
Bilal Elmoussaoui
0760e90b0d
keyframe-transition: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:23:16 +01:00
Bilal Elmoussaoui
6e3223a0cc
property-transition: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:22:19 +01:00
Bilal Elmoussaoui
57fbc304f5
swipe-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:21:14 +01:00
Bilal Elmoussaoui
1df56ca77a
text-buffer: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:21:05 +01:00
Bilal Elmoussaoui
a944889f49
tap-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:20:31 +01:00
Bilal Elmoussaoui
64ad3abded
rotate-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:20:09 +01:00
Bilal Elmoussaoui
aa8ef78b17
pan-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:20:07 +01:00
Bilal Elmoussaoui
d79f0ab9f3
snap-constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:19:18 +01:00
Bilal Elmoussaoui
7e7e9795fe
bind-constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:19:14 +01:00
Bilal Elmoussaoui
1565756fea
align-constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:19:05 +01:00
Bilal Elmoussaoui
ae23caa537
binding-pool: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:18:47 +01:00
Bilal Elmoussaoui
e729e63963
settings: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:18:30 +01:00
Bilal Elmoussaoui
d6b4c3a5d1
canvas: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:18:27 +01:00
Bilal Elmoussaoui
e32268e181
constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:16:52 +01:00
Bilal Elmoussaoui
f96683a89f
effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:16:14 +01:00
Bilal Elmoussaoui
edfd489732
transition-group: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:15:51 +01:00
Bilal Elmoussaoui
dc0a4c554a
transition: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:15:47 +01:00
Bilal Elmoussaoui
e9c1f1c642
timeline: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:11:56 +01:00
Bilal Elmoussaoui
5fb78dfbad
zoom-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:11:52 +01:00
Bilal Elmoussaoui
09b7cd9f4a
x11/display: Don't try to retrieve xwindow of wayland windows
...
Trying to get the xwindow of a wayland only window would fail when
casting to a x11 window. Which happens as
meta_x11_display_set_input_focus is called whenever the focused
window changes, whether it is a wayland or x11 one
Fixes: bc9cd123e
("window: Move xwindow to WindowX11")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3506 >
2024-01-09 23:51:37 +01:00
Bilal Elmoussaoui
5ad8a79823
display: Add a helper to retrieve associated xwindow
...
As we moved the xwindow property from Window to WindowX11 which is
not exposed as public API. So instead of exposing WindowX11,
the API is added to MetaX11Display which is already exposed.
This is only needed by gnome-shell for it tray icons support
https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/81f18d7d/src/shell-tray-icon.c#L67
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
0236506cff
window: Move has_pointer_x11 to WindowX11
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
19a36b8879
window: Stop storing xtransient_for field
...
Instead retrieve the associated Window from the xwindow property.
Avoids having a vfunc to handle the get_transient_for differences
between Wayland and x11
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
5e098eadce
window: Move user_time_window to WindowX11
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
9e150fda42
window: Move xgroup_leader to WindowX11
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
7d6e7773bf
window: Make Window.set_transient_for a vfunc
...
So we can move the xgroup_leader to WindowX11. See next commit
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
c0685fe29b
window: Move xclient_leader to WindowX11
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
bc9cd123e9
window: Move xwindow to WindowX11
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
d98b0eb71e
window: Move xvisual to WindowX11
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 >
2024-01-09 18:59:36 +00:00
Bilal Elmoussaoui
2a75661883
region: Move RegionBuilder to Mtk
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501 >
2024-01-09 18:47:34 +00:00
Bilal Elmoussaoui
fced59b33d
region: Make Region.transform private
...
It is only used once in MetaWaylandSurface
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501 >
2024-01-09 18:47:34 +00:00
Bilal Elmoussaoui
9953704ceb
region: Move RegionIterator to Mtk
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501 >
2024-01-09 18:47:34 +00:00
Bilal Elmoussaoui
cf8eb4944a
region: Make make_region_border private
...
It is only used by the shadow factory and doesn't make sense to
have as part of mtk
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501 >
2024-01-09 18:47:34 +00:00
Bilal Elmoussaoui
39aeb81a8b
region: Move Region.apply_matrix_transform_expand to Mtk
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501 >
2024-01-09 18:47:34 +00:00
Bilal Elmoussaoui
4d53e4d156
region: Move Region.crop_and_scale to Mtk
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501 >
2024-01-09 18:47:34 +00:00
Bilal Elmoussaoui
6e7d314e75
region: Move Region.scale to Mtk
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501 >
2024-01-09 18:47:34 +00:00