0d699a74a3
clutter/tests: Remove dead wiki link from README
...
This page does not seem to have been archived properly when the wiki got
shut down so the link does not work anymore. There is no replacement
page in the handbook either.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4229 >
2025-01-27 19:01:43 +01:00
87cc6633a5
tests/cursor: Set cursor theme to Adwaita
...
The reference images were generated using the Adwaita theme, so make sure that
the test client also draws a cursrom from the Adwaita theme rather than reading the
default theme from the environment.
Ideally the test suite would embed the cursor theme and point XCURSOR_PATH to
it, so that even if the Adwaita icon theme changes in the future the test
wouldn't suddently break; I did not implement this yet.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4225 >
2025-01-21 18:23:51 +01:00
a211ed553b
onscreen/native: Do not use modifiers if surface should be sharable
...
Importing a buffer allocated with a modifier into another GPU isn't
handled correctly yet in mutter. We'll want to fix that in the future,
for now just don't use modifiers in this case though, falling back to
GBM_BO_USE_LINEAR, to prevent issues due to mis-matched tiling
parameters.
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3791
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4219 >
2025-01-17 15:26:02 +00:00
78c621aa1a
backends/input-mapper: Synchronize device enabled state when adding device
...
When device is added to the mapper, the device may not be in a
desirable state. This changeset updates the device state when
the device is added to the input-mapper.
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3834
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4188 >
2025-01-17 05:27:24 +00:00
c9d8b0b5a9
screen-cast-stream-src/virtual: Track cursor updates via frame clock
...
When the cursor is captured via metadata, schedule updates when the
sprite changes or position moves, so we can gather the cursor change
during dispatch.
Also use the new skipped-paint stage watch to avoid having to guess
whether something will be painted by peeking at the pending damage.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4067 >
2025-01-16 01:04:14 +00:00
5846061449
stage: Add watch mode for 'skipped' signal
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4067 >
2025-01-16 01:04:14 +00:00
57cd2bc4f7
stage: Move N_WATCH_MODES next to the enum
...
This makes it harder to forget to update.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4067 >
2025-01-16 01:04:14 +00:00
127c303254
util: Remove meta_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
2d43721c09
wayland: Replace meta_warning() with g_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
6dd7b0c7cd
wayland: Don't warn when there is no session manager
...
This is often the case when running e.g. using `dbus-run-session`.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
e88205379b
workspace: Replace meta_warning() with g_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
ed02ce79e9
workspace: Replace a couple of warnings with debug log entries
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
7a3f87814b
window: Replace meta_warning() with g_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
654df2b795
util: Use g_warning() when warning about log files
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
b264497e4f
restart: Remove trailing whitespace
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
97d29ed684
restart: Replace meta_warning() with g_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
f2ecfc9af3
prefs: Switch meta_warning() to g_warning()
...
This again also makes some warning log entries engulf debug log entries
since they would always warning immediately after.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
978054a0d0
keybindings: Switch meta_warning() to g_warning()
...
This also makes some warning log entries engulf 'keybindings' debug log
entries since they would always warning immediately after.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
e80c4b796c
window: Remove condition checking for different stacks
...
Different stacks hasn't been a thing since support for multiple screens
was removed, so the condition no longer has any use.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
dea81517a3
core: Replace a couple of meta_warning() with 'x11' debug logs
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
681cd5d424
debug: Remove meta_verbose()
...
Debug logging should always use a debug topic.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
5f75d18afb
workspaces: Add and use 'workspace' debug topic
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
cd48367c14
workspace-manager: Remove some trailing whitespace
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
e0b74fee52
display: Replace X11 timestamp checking warnings with debug logs
...
It's cases where some client is at fault, so don't print warnings in the
journal unless asked to.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
a68b6dae6a
display: Replace some meta_warning()
...
Some are replaced with g_warning(), some are not replaced yet, as they
will be handled differently.
One warning was turned into a META_DEBUG_DISPLAY, due to it being easily
hit in CI, while being extremely unlikely otherwise.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
3a7e75e8b3
compositor: Use g_warning() instead of meta_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
8b9dbc58f8
monitor-manager/xrandr: Use g_warning() instead of meta_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
902ea05fde
cursor-renderer/native: Use g_warning() instead of meta_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
da256a20cd
monitor-manager/dummy: Replace meta_warning() with g_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
63a8539683
display: Replace 'ping' debug topic with new 'display' topic
...
"Ping" isn't important enough for having its own debug topic, so rename
it a bit to cover more areas.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
dcb4214ee6
debug: Remove 'group', 'shape' and 'resizing' debug topics
...
They are no longer used.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
8170d69031
x11: Replace 'shape' debug topic usage with 'x11'
...
There was only one user; not enough for its own topic.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
446dcf5d08
x11: Replace 'group' debug topic usage with 'x11'
...
It lets us fit more useful topics within the 32 bit enum.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
98bdaaf87f
wayland: Replace meta_verbose() with 'wayland' debug logs
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
96347d7ea0
window: Replace meta_verbose() with 'window-state' debug logs
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
ec2249d148
keybindings: Replace meta_verbose() with g_message()
...
It's a key binding to explicitly spam the journal, so let it do that
unconditionally.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
5852fa277b
events: Replace meta_verbose() with 'x11' debug logs
...
The two verbose logging calls were related to X11.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
e893fc2518
compositor: Change meta_verbose() with 'render' debug topic
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
511453c229
output/xrandr: Change meta_verbose() to 'backend' debug topic
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
7fff9ff9f5
idle-manager: Replace meta_verbose() with 'dbus' debug topic
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:42 +00:00
66c7b05991
x11: Replace meta_warning() with g_warning()
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:41 +00:00
f44bf9fa40
x11: Replace some warnings with debug logs
...
These warnings were altered due to the vast majority of cases they are
in practice harmless and just cause bug reports or red herrings due to
people seeing warnings and treating them as something that might be
relevant, while they rarely are.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:41 +00:00
7e9c6489ca
x11: Introduce and use 'x11' debug topic
...
This replaces all current `meta_verbose (...)` in x11/ with `meta_topic
(META_DEBUG_X11, ...)`.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005 >
2025-01-16 00:48:41 +00:00
86a16c3cfd
backend/native: Set static seat id for headless directly
...
This also changes the seat it for headless from seat0 to
meta-headless-seat0.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4022 >
2025-01-15 22:58:32 +01:00
d42b6fd1e1
backend/native: Set no-libinput seat flag in seat id switch statement
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4022 >
2025-01-15 22:58:25 +01:00
a085281138
tests/dbus-runner: Clean up launching the tests
...
Move the wrapper functionality where it is actually used, use a single
mechanism to determine if we're already in a dbus-runner environment and
make the mocked launching simpler.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4022 >
2025-01-15 22:56:29 +01:00
35c45c24ce
launcher: Fix indentation and rename variable which is no longer local
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4022 >
2025-01-15 22:56:29 +01:00
2bdd17650f
launcher: Rename find_systemd_session and return a proxy directly
...
It's now left to handle getting the session proxy from the the display
session for when all the other cases didn't succeed.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4022 >
2025-01-15 22:56:29 +01:00
78731515f2
launcher: Move PID based session lookup out of find_systemd_session
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4022 >
2025-01-15 22:56:29 +01:00
747da6960a
launcher: Use the new get_session_proxy_from_id in get_session_proxy
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4022 >
2025-01-15 22:56:29 +01:00