[mutter/halfline/wip/kms-cleanups: 6/9] wip! session-controller: provide way to get renderer associated with session controller
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/halfline/wip/kms-cleanups: 6/9] wip! session-controller: provide way to get renderer associated with session controller
- Date: Thu, 10 Mar 2016 21:12:32 +0000 (UTC)
commit c529f53933fcf666cde896ef839e5f4f221c8e6f
Author: Ray Strode <rstrode redhat com>
Date: Fri Jan 8 14:23:50 2016 -0500
wip! session-controller: provide way to get renderer associated with session controller
src/backends/native/meta-session-controller.c | 6 ++++++
src/backends/native/meta-session-controller.h | 5 +++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/native/meta-session-controller.c b/src/backends/native/meta-session-controller.c
index ba75dd1..361c26a 100644
--- a/src/backends/native/meta-session-controller.c
+++ b/src/backends/native/meta-session-controller.c
@@ -384,6 +384,12 @@ meta_session_controller_get_seat_id (MetaSessionController *self)
return self->seat_id;
}
+MetaNativeRenderer *
+meta_session_controller_get_renderer (MetaSessionController *self)
+{
+ return self->renderer;
+}
+
void
meta_session_controller_free (MetaSessionController *self)
{
diff --git a/src/backends/native/meta-session-controller.h b/src/backends/native/meta-session-controller.h
index 747e56a..48ddf89 100644
--- a/src/backends/native/meta-session-controller.h
+++ b/src/backends/native/meta-session-controller.h
@@ -22,10 +22,15 @@
#include <gio/gio.h>
+#include "backends/native/meta-session-controller.h"
+#include "backends/native/meta-native-renderer.h"
+
typedef struct _MetaSessionController MetaSessionController;
MetaSessionController *meta_session_controller_new (GError **error);
const char *meta_session_controller_get_seat_id (MetaSessionController *self);
+MetaNativeRenderer *meta_session_controller_get_renderer (MetaSessionController *self);
+
void meta_session_controller_free (MetaSessionController *self);
gboolean meta_session_controller_activate_session (MetaSessionController *self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]