summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
* gschema/wayland: Do not disable the X Security extensionOlivier Fourdan2020-10-091-1/+1
| | | | | | | If Xwayland was built with the X Security extension enabled, it should be safe to use, there is no need to disable it by default from mutter. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1485
* gschema: really use line breaks in schemaOlivier Fourdan2020-10-081-3/+3
| | | | | | | | The newline character `\n` in the schema does not produce a new line. Use a newline instead. fixes: dbe44f3a83e6a6bdc611bb298e3781a0aebbbd7b https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1483
* gschema: Force one bullet point per lineBjörn Daase2020-10-081-0/+3
| | | | https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1481
* gschema: list experimental dma-buf-screen-sharing featureBjörn Daase2020-10-081-0/+4
| | | | | | | The key was added in https://gitlab.gnome.org/GNOME/mutter/-/commit/af9df1e5b62b253e5f1d5f6eff89e45e3bed81b3 but not added to the list due to the string freeze. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1481
* gschema: Make "Requires a restart." strings consistentBjörn Daase2020-10-071-1/+1
| | | | https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1481
* backends: force enable modifiers on tagged devicesKarol Herbst2020-09-282-0/+7
| | | | | | | | | | | Some devices can't scanout to linear buffers directly as the hw is not capable of eg rendering into a linear depth buffer. Add code to force kms-modifiers on udev taged devices. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1408 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1443
* xwayland: Add a setting to disable selected X extensionsOlivier Fourdan2020-08-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | The X server, including Xwayland, can be compiled with different X11 extensions enabled at build time. When an X11 extension is built in the X server, it's usually also enabled at run time. Users can chose to disable those extensions at run time using the X server command line option "-extension". However, in the case of Xwayland, it is spawned automatically by the Wayland compositor, and the command line options are not configurable by users. Add a new setting to disable a selected set of X extension in Xwayland at startup, without needing to rebuild Xwayland. Of course, if Xwayland is not built with a given extension support in the first place (which is the default for the security extension for example), that option has no effect. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1405
* cleanup: remove controversial namingOlivier Fourdan2020-08-041-3/+4
| | | | | | | | | Replace "whitelist" and "blacklist" with "allow_list" and "deny_list" which better represent the purpose of those variables. There is no functional change. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1396
* display: Make check-alive timeout configureableJonas Ådahl2020-02-231-0/+10
| | | | | | | | | | | | | | | | | | The check-alive feature is there for the user to be able to terminate frozen applications more easily. However, sometimes applications are implemented in a way where they fail to be reply to ping requests in a timely manner, resulting in that, to the compositor, they are indistinguishable from clients that have frozen indefinitely. When using an application that has these issues, the GUI showed in response to the failure to respond to ping requests can become annoying, as it disrupts the visual presentation of the application. To allow users to work-around these issues, add a setting allowing them to configure the timeout waited until an application is considered frozen, or disabling the check completely. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1080
* wayland: Add setting/api to check the policy to set up the X11 displayCarlos Garnacho2019-08-061-0/+2
| | | | | | | This replaces meta_should_autostart_x11_display(). The "on-demand" policy is not honored yet. https://gitlab.gnome.org/GNOME/mutter/merge_requests/709
* keybindings: Trigger locate-pointer on key modifierOlivier Fourdan2019-06-051-0/+8
| | | | | | | | | | We trigger the "locate-pointer" mechanism when a special key modifier (defaults to Control_L) key is pressed and released. https://gitlab.gnome.org/GNOME/mutter/merge_requests/453 https://gitlab.gnome.org/GNOME/gnome-shell/issues/981 https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19 https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86
* settings: Slack off “xwayland-allow-grabs” settingOlivier Fourdan2019-06-031-3/+10
| | | | | | | | | | | | | | | | | | | | | To emulate X11 grabs, mutter as a Wayland compositor would disable its own keyboard shortcuts and when the X11 window is an override redirect window (which never receives focus), it also forces keyboard focus onto that X11 O-R window so that all keyboard events are routed to the window, just like an X11 server would. But that's a bit of a “all-or-nothing” approach which prevents applications that would legitimately grab the keyboard under X11 (like virtual machine viewers) to work by default. Change “xwayland-allow-grabs” to control whether the keyboard focus should be locked onto override redirect windows in case of an X11 grab. For stringent needs, careful users can still use the blacklisting feature (i.e. a list containing “!*”) to prevent grabs from any X11 applications to affect other Wayland native applications. https://gitlab.gnome.org/GNOME/mutter/issues/597
* backends/native: Add rt-scheduler experimental key to set RT schedulingCarlos Garnacho2019-05-101-0/+4
| | | | | | | | | | | | | | | This is similar to a change in kwin: https://blog.martin-graesslin.com/blog/2017/09/kwinwayland-goes-real-time/ If the experimental features key has "rt-scheduler", make it claim the lowest of RT scheduler priorities, this will be both educated to other RT processes and improves responsiveness wrt all other processes. This can only work if mutter/gnome-shell process receives CAP_SYS_NICE somehow, e.g.: "setcap CAP_SYS_NICE=+ep `which gnome-shell`" Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/921 https://gitlab.gnome.org/GNOME/mutter/merge_requests/460
* meson: Define srcdir and builddir using meson functionsMarco Trevisan (Treviño)2019-05-021-1/+1
| | | | | | | No need to redefine paths starting from top src/build dirs, as meson can give us this information for free using its functions. https://gitlab.gnome.org/GNOME/mutter/merge_requests/442
* Drop AutotoolsGeorges Basile Stavracas Neto2019-01-101-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I saw Meson fade from the sky On the wind I heard a sigh As snowflakes cover fallen Makefiles I will say this last goodbye Meson is now coming So ends Autotools days Future is now coming And we must away Over Python and without Bashisms Through lands where never Meson touched By silver streams that run down to the Sea Under parsers, beneath old legacy Over snow one winter’s morn I turned at last to paths that lead home And though where the road then takes me I cannot tell We came all this way But now comes the day To bid you farewell Many places I have been Many sorrows I have seen But I don’t regret Nor will I forget All Makefiles that took that road with me I bid you all a very fond farewell.
* Add meson build supportJonas Ådahl2018-11-061-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds meson build support to mutter. It takes a step away from the three separate code bases with three different autotools setups into a single meson build system. There are still places that can be unified better, for example by removing various "config.h" style files from cogl and clutter, centralizing debug C flags and other configurable macros, and similar artifacts that are there only because they were once separate code bases. There are some differences between the autotools setup and the new meson. Here are a few: The meson setup doesn't generate wrapper scripts for various cogl and clutter test cases. What these tests did was more or less generate a tiny script that called an executable with a test name as the argument. To run particular tests, just run the test executable with the name of the test as the argument. The meson setup doesn't install test files anymore. The autotools test suite was designed towards working with installed tests, but it didn't really still, and now with meson, it doesn't install anything at all, but instead makes sure that everything runs with the uninstalled input files, binaries and libraries when running the test suite. Installable tests may come later. Tests from cogl, clutter and mutter are run on 'meson test'. In autotools, only cogl and clutter tests were run on 'make check'.
* Make screen cast and remote desktop non-experimentalJonas Ådahl2018-06-071-4/+0
| | | | | It's time to make this feature more accessible by not requiring editing an array in gsettings.
* data: Don't expose window shading shortcutFlorian Müllner2018-01-241-2/+0
| | | | | | | | | | GTK+ doesn't support shading of client-side decorated windows, and likely never will (not least because shading is conceptually questionable if the app customizes the titlebar), and neither do other CSD implementations like Chromium's. A shortcut that only works with a decreasing number of windows is more confusing than helpful, so don't expose it. https://bugzilla.gnome.org/show_bug.cgi?id=645460
* data: Don't expose horizontal workspace keybindings to SettingsFlorian Müllner2018-01-241-12/+0
| | | | | | | | | Given that GNOME has used a vertical workspace layout ever since 3.0, allowing users to assign keyboard shortcuts for horizontal workspace navigation isn't useful at all, as rightfully pointed out by Bastien Nocera. https://bugzilla.gnome.org/show_bug.cgi?id=645460
* Use Unicode quotation marks in new translatable stringsPiotr Drąg2017-12-181-6/+6
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772218
* settings: Add xwayland grab settingsOlivier Fourdan2017-12-182-0/+45
| | | | | | | Add new settings to control which X11 windows are allowed to issue Xwayland grabs. https://bugzilla.gnome.org/show_bug.cgi?id=783342
* Add restore-shortcuts to key bindings listOlivier Fourdan2017-11-102-0/+15
| | | | | | | gnome-control-center uses this to list the keybindings, without this users cannot change the default key combo to restore shortcuts. https://bugzilla.gnome.org/show_bug.cgi?id=789386
* wayland: Use Super+Escape to re-enable shortcutsOlivier Fourdan2017-11-101-1/+1
| | | | | | | | | | Change the default key combo to re-enable normal keyboard shortcuts processing while a shortcut inhibitor is in effect to Super+Escape as primary system modifier key should be Super. This should reduce the risk of potential conflict with other shortcuts. https://bugzilla.gnome.org/show_bug.cgi?id=789386
* Use Unicode quotation marks in a translatable stringPiotr Drąg2017-08-291-1/+1
| | | | | | | | Also adjusts existing translations for it. See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772218
* Add remote desktop and screen cast functionalityJonas Ådahl2017-08-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds basic screen casting and remote desktoping functionalty. This works by exposing two D-Bus API services: org.gnome.Mutter.ScreenCast and org.gnome.Mutter.RemoteDesktop. The remote desktop API is used to create remote desktop sessions. For each session, a D-Bus object is created, and an application can manage the session by sending messages to the session object. A remote desktop session the user to emit input events using the D-Bus methods on the session object. To get framebuffer content, the application should create an associated screen cast session. The screen cast API is used to create screen cast sessions. One can so far either create stand-alone screen cast sessions, or a screen cast session associated with a remote desktop session. A remote desktop associated screen cast session is managed by the remote desktop session. So far only remote desktop managed screen cast sessions are implemented. Each screen cast session may have one or more streams. A screen cast stream is a stream of buffers of some part of the compositor content. So far API exists for creating streams of monitors and windows, but only monitor streams are implemented. When a screen cast session is started, the one PipeWire stream is created for each screen cast stream created for the session. When this has happened, a PipeWireStreamAdded signal is emitted on the stream object, passing a unique identifier. The application may use this identifier to find the associated stream being advertised by the PipeWire daemon. The remote desktop and screen cast functionality must be explicitly be enabled at ./configure time by passing --enable-remote-desktop to ./configure. Doing this will build both screen cast and remote desktop support. To actually enable the screen casting and remote desktop, the user must enable the experimental feature. See org.gnome.mutter.experimental-features. https://bugzilla.gnome.org/show_bug.cgi?id=784199
* Remove old monitor configuration systemJonas Ådahl2017-08-211-11/+1
| | | | | | | Remove the old MetaMonitorConfig system and mark the new one as non-experimental. This also removes the D-Bus property. https://bugzilla.gnome.org/show_bug.cgi?id=777732
* data: fix gettext domainAlberts Muktupāvels2017-08-102-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=691611
* wayland: add inhibit shortcut mechanismOlivier Fourdan2017-08-021-0/+4
| | | | | | | | | | | Add a mechanism to MetaWaylandSurface that inhibits compositor's own shortcuts when the surface has input focus, so that clients can receive all key events regardless of the compositor own shortcuts. This will help with implementing "fake" active grabs in Wayland and XWayland clients. https://bugzilla.gnome.org/show_bug.cgi?id=783342
* keybindings: Add a switch-monitor builtin keybindingRui Matos2017-07-191-0/+5
| | | | | | | | | | | | | | | | Moved from g-s-d's media keys plugin, where it was called "video-out", since it requires changing the current monitor configuration and we want to remove the old DBus API. This implementation is intentionally simple and not really meant for more than debugging and validating the various configurations. A better user experience will be introduced in gnome-shell with a custom keybinding handler. The default value includes <Super>P in addition to the standard keysym for historical reasons. https://bugzilla.gnome.org/show_bug.cgi?id=781906
* data: Enable monitor-config-manager by defaultRui Matos2017-07-181-1/+1
| | | | | | We'll need to drop the old monitor configuration system to pave way to better hi-dpi and multi-gpu support. Let's start by defaulting to the new system in order to give it more real world testing.
* keybindings: Add a rotate-monitor builtin keybindingRui Matos2017-07-141-0/+5
| | | | | | | | Moved from g-s-d's media keys plugin, where it was called "video-rotate", since it requires changing the current monitor configuration and we want to remove the old DBus API. https://bugzilla.gnome.org/show_bug.cgi?id=781906
* Use Unicode quotation marks in a translatable stringPiotr Drąg2017-05-261-2/+2
| | | | | | | | Also fixes a typo. See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772218
* gschema: Add description for "monitor-config-manager"Jonas Ådahl2017-05-261-0/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=777732
* Use Unicode in a new translatable stringPiotr Drąg2017-04-071-2/+2
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772218
* Add support for scaled logical monitor framebuffersJonas Ådahl2017-04-071-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for rendering onto enlarged per logical monitor framebuffers, using the scaled clutter stage views, for HiDPI enabled logical monitors. This works by scaling the mode of the monitors in a logical monitors by the scale, no longer relying on scaling the window actors and window geometry for making windows have the correct size on HiDPI monitors. It is disabled by default, as in automatically created configurations will still use the old mode. This is partly because Xwayland clients will not yet work good enough to make it feasible. To enable, add the 'scale-monitor-framebuffer' keyword to the org.gnome.mutter.experimental-features gsettings array. It is still possible to specify the mode via the new D-Bus API, which has been adapted. The adaptations to the D-Bus API means the caller need to be aware of how to position logical monitors on the stage grid. This depends on the 'layout-mode' property that is used (see the DisplayConfig D-Bus documentation). https://bugzilla.gnome.org/show_bug.cgi?id=777732
* backend: Add 'experimental-features' gsettingJonas Ådahl2017-04-071-0/+14
| | | | | | | | | | This gsetting will allow the adding of keywords to a array, where each keyword may enable an experimental feauter, if the given mutter version supports that particular experimental feature. Emphasis is put on the lack of guarantee that any such keyword has any effect. Currently no keywords are defined. https://bugzilla.gnome.org/show_bug.cgi?id=777732
* Use Unicode in translatable stringsPiotr Drąg2017-02-161-6/+6
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772218
* build: Say good-bye to intltoolFlorian Müllner2016-08-198-146/+148
| | | | | | | | | | intltool is unmaintained nowadays while upstream gettext gained support for formats like GSettings schemas and .desktop files, and offers a mechanism to teach it about other XML formats not yet supported out of the box which we can use for the rest. So there's nothing stopping us, just make the switch ... https://bugzilla.gnome.org/show_bug.cgi?id=769073
* data: drop mutter-wayland.desktopRay Strode2015-11-092-19/+1
| | | | | | | It's not needed since we can automatically figure things out based on logind. https://bugzilla.gnome.org/show_bug.cgi?id=741666
* wayland: add keybindings for VT8-VT12Ray Strode2015-02-191-0/+20
| | | | | | | | We currently only support switching to 1-7. This commit brings us parity with X, and let's us switch to all 12. https://bugzilla.gnome.org/show_bug.cgi?id=744800
* Add hidden -backward bindings to 50-mutter-navigation.xmlChristophe Fergeau2014-08-171-0/+42
| | | | | | | | This makes the gnome-control-center keyboard panel aware of these bindings so that it can warn about conflicting bindings if the user tries to use one of these bindings for a different action. https://bugzilla.gnome.org/show_bug.cgi?id=732385
* build: Move data files to their dedicated subfolderRico Tzschichholz2014-06-0510-2/+397
|
* build: Fix some warnings and clean up a bitRico Tzschichholz2014-06-041-1/+1
|
* Revert "wayland: make parallel installable with regular mutter"Jasper St. Pierre2014-04-091-0/+3
This reverts commit ea3d2b4759524345c89fe08ad0c159d7136dbdf1.