summaryrefslogtreecommitdiffstats
path: root/dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus.c')
-rw-r--r--dbus.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/dbus.c b/dbus.c
index 5a1a3e344..bef51a73d 100644
--- a/dbus.c
+++ b/dbus.c
@@ -909,6 +909,18 @@ cdbus_process_opts_get(session_t *ps, DBusMessage *msg) {
cdbus_m_opts_get_do(detect_transient, cdbus_reply_bool);
cdbus_m_opts_get_do(detect_client_leader, cdbus_reply_bool);
+#ifdef CONFIG_VSYNC_OPENGL
+ cdbus_m_opts_get_do(glx_no_stencil, cdbus_reply_bool);
+ cdbus_m_opts_get_do(glx_copy_from_front, cdbus_reply_bool);
+ cdbus_m_opts_get_do(glx_use_copysubbuffermesa, cdbus_reply_bool);
+ cdbus_m_opts_get_do(glx_no_rebind_pixmap, cdbus_reply_bool);
+ if (!strcmp("glx_swap_method", target)) {
+ assert(ps->o.glx_swap_method < sizeof(GLX_SWAP_METHODS_STRS) / sizeof(GLX_SWAP_METHODS_STRS[0]));
+ cdbus_reply_string(ps, msg, GLX_SWAP_METHODS_STRS[ps->o.glx_swap_method]);
+ return true;
+ }
+#endif
+
cdbus_m_opts_get_do(track_focus, cdbus_reply_bool);
cdbus_m_opts_get_do(track_wdata, cdbus_reply_bool);
cdbus_m_opts_get_do(track_leader, cdbus_reply_bool);