summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-07-26 12:52:16 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-07-26 13:02:06 +0800
commit4f92672534b2ebb83616de98b40fb79761c0c2ac (patch)
tree46aa3bd831a5b8b1a40be17e4fc1a46c56c0aaad /common.h
parentbd40b36f01e2f114b0647ec7365550fb9f610326 (diff)
downloadtdebase-4f92672534b2ebb83616de98b40fb79761c0c2ac.tar.gz
tdebase-4f92672534b2ebb83616de98b40fb79761c0c2ac.zip
Improvement #41: Enable/disable redirection through D-Bus
- Add "redirected_force" to D-Bus opts_get to forcefully redirect/unredirect windows. - Add D-Bus method "repaint", to, namely, repaint the screen.
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common.h b/common.h
index d3bc58023..e439af4a7 100644
--- a/common.h
+++ b/common.h
@@ -460,6 +460,8 @@ typedef struct {
/// Whether to unredirect all windows if a full-screen opaque window
/// is detected.
bool unredir_if_possible;
+ /// Forced redirection setting through D-Bus.
+ switch_t redirected_force;
/// Whether to enable D-Bus support.
bool dbus;
/// Path to log file.
@@ -647,9 +649,6 @@ typedef struct {
XserverRegion all_damage_last[CGLX_MAX_BUFFER_AGE];
/// Whether all windows are currently redirected.
bool redirected;
- /// Whether there's a highest full-screen window, and all windows could
- /// be unredirected.
- bool unredir_possible;
/// Pre-generated alpha pictures.
Picture *alpha_picts;
/// Whether all reg_ignore of windows should expire in this paint.