*<core><adaptiveSync>* [yes|no]
Enable adaptive sync. Default is no.
+*<core><cycleViewPreview>* [yes|no]
+ Preview the contents of the selected window when cycling between windows.
+ Default is no.
+
# FOCUS
*<focus><followMouse>* [yes|no]
<decoration>server</decoration>
<gap>0</gap>
<adaptiveSync>no</adaptiveSync>
+ <cycleViewPreview>no</cycleViewPreview>
</core>
<!--
/* window snapping */
int snap_edge_range;
bool snap_top_maximize;
+
+ /* cycle view (alt+tab) */
+ bool cycle_preview_contents;
};
extern struct rcxml rc;
rc.snap_edge_range = atoi(content);
} else if (!strcasecmp(nodename, "topMaximize.snapping")) {
rc.snap_top_maximize = get_bool(content);
+ } else if (!strcasecmp(nodename, "cycleViewPreview.core")) {
+ rc.cycle_preview_contents = get_bool(content);
}
}
rc.screen_edge_strength = 20;
rc.snap_edge_range = 1;
rc.snap_top_maximize = true;
+ rc.cycle_preview_contents = false;
}
static struct {
/* 'alt-tab' border */
if (output->server->cycle_view) {
+ /* If the 'cycle_preview_contents' option is set in
+ * rc.xml, render the contents of the cycle_view over
+ * all other views (except for the OSD)
+ */
+ if (rc.cycle_preview_contents) {
+ render_deco(output->server->cycle_view, output, damage);
+ render_view_toplevels(output->server->cycle_view, output, damage);
+ render_view_popups(output->server->cycle_view, output, damage);
+ }
+
render_cycle_box(output, damage, output->server->cycle_view);
render_osd(output, damage, output->server);
}