diff options
author | Giovanni Campagna <gcampagn@redhat.com> | 2013-07-19 14:39:28 +0200 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2013-08-18 00:22:54 +0200 |
commit | 3bb33d384f7ed087555e31a5703e911e664b3233 (patch) | |
tree | 40627c854d7fcdfedd7edff6e0c7890d05a55119 /src/Makefile.am | |
parent | 214f31257b0accc38f2bc3d4e012335386bc8b23 (diff) | |
download | mutter-3bb33d384f7ed087555e31a5703e911e664b3233.tar.gz |
Introduce a new DBus interface for display configuration
This new interface will be used by the control center and possibly
the settings daemon to configure the screens. It is designed to
resemble a simplified XRandR, while still exposing all the quirks
of the hardware, so that the panel can limit the user choices
appropriately.
To do so, MetaMonitorMode needs to track CRTCs, outputs and modes,
so the low level objects have been decoupled from the high-level
MetaMonitorInfo, which is used by core and API and offers a simplified
view of HW, that hides away the details of what is cloned and how.
This is still not efficient as it should be, because on every
HW change we drop all data structures and rebuild them from scratch
(which is not expensive because there aren't many of them, but
at least in the XRandR path it involves a few sync X calls)
https://bugzilla.gnome.org/show_bug.cgi?id=705670
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index f62f3f49c..ac03bd4d3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,6 +30,7 @@ INCLUDES= \ -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" mutter_built_sources = \ + $(dbus_xrandr_built_sources) \ mutter-enum-types.h \ mutter-enum-types.c @@ -325,3 +326,12 @@ mutter-enum-types.c: stamp-mutter-enum-types.h mutter-enum-types.c.in $(libmutterinclude_base_headers) ) >> xgen-tetc && \ cp xgen-tetc mutter-enum-types.c && \ rm -f xgen-tetc + +dbus_xrandr_built_sources = meta-dbus-xrandr.c meta-dbus-xrandr.h + +$(dbus_xrandr_built_sources) : Makefile.am xrandr.xml + $(AM_V_GEN)gdbus-codegen \ + --interface-prefix org.gnome.Mutter \ + --c-namespace MetaDBus \ + --generate-c-code meta-dbus-xrandr \ + xrandr.xml |