diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2013-07-30 22:24:11 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2013-07-30 22:24:11 +0800 |
commit | 8f6c2d89ea6883d5cee95cfeb83618c5c11cbf12 (patch) | |
tree | 07824143cff1f36fe618a6d949e956ea67cdb487 /dbus.c | |
parent | 4f92672534b2ebb83616de98b40fb79761c0c2ac (diff) | |
download | tdebase-8f6c2d89ea6883d5cee95cfeb83618c5c11cbf12.tar.gz tdebase-8f6c2d89ea6883d5cee95cfeb83618c5c11cbf12.zip |
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.
Diffstat (limited to 'dbus.c')
-rw-r--r-- | dbus.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |