From 8f6c2d89ea6883d5cee95cfeb83618c5c11cbf12 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Tue, 30 Jul 2013 22:24:11 +0800 Subject: Misc: stoppaint_force & Documentation update - Add stoppaint_force option, controlled via D-Bus, to stop painting completely, which may look better than unredirecting the screen, sometimes. (#41) - Add x2, y2 matching targets. - Update documentation. --- dbus.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dbus.c') diff --git a/dbus.c b/dbus.c index 2d9a86bd2..671ef8eef 100644 --- a/dbus.c +++ b/dbus.c @@ -899,6 +899,7 @@ cdbus_process_opts_get(session_t *ps, DBusMessage *msg) { cdbus_m_opts_get_do(paint_on_overlay, cdbus_reply_bool); cdbus_m_opts_get_do(unredir_if_possible, cdbus_reply_bool); cdbus_m_opts_get_do(redirected_force, cdbus_reply_enum); + cdbus_m_opts_get_do(stoppaint_force, cdbus_reply_enum); cdbus_m_opts_get_do(logpath, cdbus_reply_string); cdbus_m_opts_get_do(synchronize, cdbus_reply_bool); @@ -1081,6 +1082,9 @@ cdbus_process_opts_set(session_t *ps, DBusMessage *msg) { goto cdbus_process_opts_set_success; } + // stoppaint_force + cdbus_m_opts_set_do(stoppaint_force, CDBUS_TYPE_ENUM, cdbus_enum_t); + #undef cdbus_m_opts_set_do printf_errf("(): " CDBUS_ERROR_BADTGT_S, target); -- cgit v1.2.1