Loading
Commits on Source 83
-
Florian Müllner authored
Meson variables don't have a scope, so using `prefix` in a loop for D-Bus interface prefixes actually overshadows the global variable that holds the build prefix. As far as I can tell, the only place where the "wrong" value is read is the build summary, but let's not tempt fate and fix it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3995>
-
Jonas Ådahl authored
`(int) (1.0f * (float) INT_MAX)` doesn't necessarily result in INT_MAX due to how floating point arithmetics. Handle this better by setting INT_MIN/MAX explicitly, when the floating point value post scaling exceeds the corresponding limit. This fixes resizing of electron windows. Fixes: 6e8c7c5f ("Add experimental mode to use native scaling of Xwayland clients") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3997>
-
Peter Hutterer authored
The tablet tool is initialized with a device but if that device is later removed we never update tool->device. This eventually causes a crash when we're passing that device into meta_wayland_input_invalidate_focus(). The tool keeps track of the current tablet anyway so instead of caching this pointer in the tool, use the current tablet's device. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3642 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3959>
-
Sebastian Wick authored
When a surface is destroyed, the existing feedback surfaces are marked as inert by setting the wl_resource user_data to NULL. This wasn't handled in the feedback surface destructor. Fixes: 2341346c ("wayland: Implement the color management protocol v4") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4000>
-
Daniel authored
-
José Expósito authored
g_array_sized_new() creates a new GArray with a preallocated size, but, after creation, the array length is still zero [1]. Store the modifiers in a EGLuint64KHR array and use g_array_new_take() to create a new GArray with the correct size. Because no modifiers were returned, gbm_surface_create() was used instead gbm_surface_create_with_modifiers() on multi-GPU setups. [1] https://docs.gtk.org/glib/type_func.Array.sized_new.html Fixes: aec85281 ("native/renderer: Retrieve the right modifiers set for each GPU") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3998>
-
Fran Dieguez authored
-
Jonas Ådahl authored
We're retrieving the context from the constraint instance, and the wl_resource_destroy() call indirectly destroys the instance, so warp earlier to still have a valid instance while warping. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3649 Fixes: 6a694d64 ("wayland/seat: Keep a back pointer to the ClutterSeat") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4003>
-
Luming Zh authored
-
Martin authored
-
Yuri Chornoivan authored
-
Yaron Shahrabani authored
-
Emin Tufan Çetin authored
-
AsciiWolf authored
-
Danial Behzadi authored
-
Sebastian Wick authored
The x86_64_v2 runners hang on pulling the docker image. This should be removed when the runners are all updated. Related: https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1665 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4008>
-
nibon7 authored
Fixes: da828c2f ("x11/input-device: Stop using deprecated libwacom API") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3996>
-
Alexander Shopov authored
-
Anders Jonsson authored
-
Ekaterine Papava authored
-
Asier Sarasua Garmendia authored
-
Hugo Carvalho authored
-
Piotr Drąg authored
-
Aurimas Černius authored
-
Balázs Úr authored
-
Andika Triwidada authored
-
Peter Hutterer authored
We need the full link so let's warn contributors about this instead of having reviewers pointing this out. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4013>
-
Daniel authored
-
Andi Chandler authored
-
Simon McVittie authored
Based on upstream feedback.
-
Artur S0 authored
-
Simon McVittie authored
-
Simon McVittie authored
-
Quentin PAGÈS authored
-
Simon McVittie authored
-
Simon McVittie authored
-
Simon McVittie authored
This will avoid some tests needing to write to /usr when run as installed-tests. Helps: https://gitlab.gnome.org/GNOME/mutter/-/issues/3658 Signed-off-by:
Simon McVittie <smcv@debian.org> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4012>
-
Simon McVittie authored
XDG_CONFIG_DIR is not part of the basedirs spec. Use XDG_CONFIG_HOME instead, which is probably what was intended. Signed-off-by:
Simon McVittie <smcv@debian.org> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4012>
-
Simon McVittie authored
For completeness. Signed-off-by:
Simon McVittie <smcv@debian.org> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4012>
-
Simon McVittie authored
Previously these tests tried to write to /usr when run as an installed-test, which happens to work on Gitlab-CI because we're running as root inside a container, but will not work when running in a more realistic scenario as an unprivileged user (which is how Debian's autopkgtest framework runs this test suite). This also avoids leaving non-package-manager-managed detritus in /usr. In color-management-tests, we can just delete the code that sets XDG_DATA_HOME. In color-management-profile-conflict-test, we also need to copy the conflicting vx239-calibrated.icc into the temporary XDG_DATA_HOME to get onto the code path that this test is intended to exercise. Resolves: https://gitlab.gnome.org/GNOME/mutter/-/issues/3658 Signed-off-by:
Simon McVittie <smcv@debian.org> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4012>
-
Simon McVittie authored
Now that we copy this into a temporary XDG_DATA_HOME, we don't need to have it duplicated in the source tree as well. Signed-off-by:
Simon McVittie <smcv@debian.org> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4012>
-
Rafael authored
-
Jeremy Bícha authored
LP: #2080073
-
Ask Hjorth Larsen authored
-
Florian Müllner authored
Gitlab also recognizes variants like "close #123" or "Closed #123". Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4017>
-
Florian Müllner authored
Our convention is to use "Fixes" lines for references commits (like belated "fixups") and use "closes" for issues. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4017>
-
Peter Hutterer authored
If our calibration matrix (the "area") is the default, use libinput's default matrix instead. Worst case this is the unity matrix anyway, best case it uses the matrix set in e.g. the LIBINPUT_CALIBRATION_MATRIX property. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2939 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3846>
-
Rūdolfs Mazurs authored
-
Simon McVittie authored
-
Michel Dänzer authored
Preparation for next commit, which may merge multiple KMS updates with sync_fds for modesets. Waiting for all sync_fds to signal before processing the merged KMS update would be rather involved, for now just leave implicit sync enabled for it. We're still relying on implicit sync for modesets in general anyway. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3999>
-
Michel Dänzer authored
This has to be done for all CRTCs of the device, not only those with a modeset, which requires merging in the pending updates for all CRTCs as well. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3999>
-
Michel Dänzer authored
And rename it to disarm_all_frame_sources. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3999>
-
Jonas Ådahl authored
The result will allow adequate state tracking to take place where the update was posted. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3999>
-
Jonas Ådahl authored
A nick property is a bit similar to the nick of a GObject property, in that it's a shorter version of the name. It's intended to be used to store state on the file system, where the state depends on the desktop environment being used. E.g. gnome-shell sets the name "GNOME Shell", which is, if no nick is explicitly set, transformed into the nick "gnome-shell", which will be used for file paths. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
Useful for tests that want to act on receiving xdg_surface.configure. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
This library is not shipped standalone and is meant to be used through subprojects. Add a Meson wrap file for it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Sebastian Wick authored
This is used to print debug information for session management. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
This is an abstract base class to implement a "client session", carrying the accounting of the windows, and allowing to serialize/read their state into a Gvdb table. Since different windowing backends may require slightly different data to be saved for each window, this is meant to have windowing-specific implementations. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
This core object will be the manager of "client sessions", allowing the windowing-specific paths to generate MetaSessionState objects to track their clients. This object is unused at the moment, and will be integrated in later commits. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
Make this core object own the MetaSessionManager, for the window management code to access. At this level, we will be able to integrate with systemd notification system, and use systemd fdstore to keep the mapped memory warm for us for the case of soft reboot. This is at the moment not implemented here. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
This object is a windowing-specific implementation of MetaSessionState, allowing to save window state for toplevel surfaces of a Wayland client using the xdg_session_management_v1 protocol. This object is detached from windowing logic itself, and will be integrated in later commits. Changes from Carlos Garnacho: Integrate state serialization with MetaSessionState and MetaSessionManager. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
This is still being discussed upstream, so will be included as a private protocol. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
Make the restored state prevail, instead of letting the client still pick an initial size. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
We will at the moment want it guarded behind a setting. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
The xdg_session_manager_v1 global interface is the generator of xdg_session_v1 objects for clients. These will notify of an unique ID that can be used for future instantiations. Once a xdg_session_v1 object is obtained, toplevels can be added to be managed by it, and clients may get a hint about whether the toplevel was restored to a saved state. Changes by Carlos Garnacho: Integrate with MetaSessionManager core object. Flesh out event emission of xdg_session_v1 and xdg_toplevel_session_v1 objects, handle sessions being replaced/deleted. Changes by Sebastian Wick: * make lifetimes of xdg_sessions entirely determined by the wayland and handle its destruction via the signal * fix session destruction vs deletion * do not drop refcount of replaced session state temporarily to make sure the replacing session keeps the state * disconnect signals of destroyed and replaced sessions * disconnect window-unmanaging signal handler for MetaWaylandXdgToplevelSession * call wl_resource_destroy in xdg_toplevel_session_remove to make it a destructor * handle session being destroyed before topevel-sessions * handle the toplevel going away before the topevel-sessions Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
And create an empty one when asked for it. This session data is not saved on disk, except for the purpose of creating an empty file FD. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
Allow saving the session gvdb file in the background, with as little overhead in the main thread as possible. We still need to serialize all created/deserialized MetaSessionState to a GVDB hashtable there, in order to avoid these being poked from the async task thread. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Carlos Garnacho authored
Track toplevels being saved, and save state some time after. This will make session state somewhat remembered on shell crashes, as long as there was time to snapshot the data in disk. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3825>
-
Jonas Ådahl authored
This reverts commit b35129db. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3541 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4026>
-
Florian Müllner authored
Update NEWS.
-
Jeremy Bícha authored
-
Jeremy Bícha authored
Update to upstream version '47.0' with Debian dir e6e42eb6fcc976ec4c9d6aa92cdc6a160f99476b
-
Jeremy Bícha authored
-
Jeremy Bícha authored
-
Jeremy Bícha authored
-
Jeremy Bícha authored
-
Jeremy Bícha authored
-
Jeremy Bícha authored
tagging package mutter version debian/47.0-1 * tag 'debian/47.0-1': (79 commits) releasing package mutter version 47.0-1 debian/libmutter-15-0.symbols: Add new symbol Remove patches applied in new release Bump minimum PipeWire to 1.2.0 New upstream release Bump version to 47.0 Revert "wayland: Check focus surface to set a pointer cursor" wayland: Save session state in the background in a delayed manner core: Add async save method to MetaSessionManager tests: Add some basic tests for XDG session management tests: Make test context able to create a session manager wayland: Implement the XDG session management protocol core: Add debug control setting for session management wayland: Add XDG Shell glue to cater for already restored windows build: Include a private copy if the session management protocol wayland: Add MetaWaylandXdgSessionState core: Make MetaContext manage the MetaSessionManager singleton core: Add MetaSessionManager core: Add MetaSessionState Add debug topic "session-management" ...
-
Jeremy Bícha authored