be used with labwc the preferred mode of the monitor is used instead.
Default is no.
-*<core><cycleViewOSD>* [yes|no]
- Draw the OSD when cycling between windows.
- Default is yes.
+*<core><windowSwitcher show="" preview="" outlines="" />*
+ *show* [yes|no] Draw the OnScreenDisplay when switching between
+ windows. Default is yes.
-*<core><cycleViewPreview>* [yes|no]
- Preview the contents of the selected window when cycling between windows.
- Default is no.
+ *preview* [yes|no] Preview the contents of the selected window when
+ switching between windows. Default is no.
-*<core><cycleViewOutlines>* [yes|no]
- Draw an outline around the selected window when cycling between windows.
- Default is yes.
+ *outlines* [yes|no] Draw an outline around the selected window when
+ switching between windows. Default is yes.
## RESISTANCE
<gap>0</gap>
<adaptiveSync>no</adaptiveSync>
<reuseOutputMode>no</reuseOutputMode>
- <cycleViewOSD>yes</cycleViewOSD>
- <cycleViewPreview>no</cycleViewPreview>
- <cycleViewOutlines>yes</cycleViewOutlines>
+ <windowSwitcher show="yes" preview="no" outlines="yes" />
</core>
<!-- <font><theme> can be defined without an attribute to set all places -->
rc.snap_edge_range = atoi(content);
} else if (!strcasecmp(nodename, "topMaximize.snapping")) {
rc.snap_top_maximize = get_bool(content);
+
+ /* <windowSwitcher show="" preview="" outlines="" /> */
+ } else if (!strcasecmp(nodename, "show.windowSwitcher.core")) {
+ rc.cycle_view_osd = get_bool(content);
+ } else if (!strcasecmp(nodename, "preview.windowSwitcher.core")) {
+ rc.cycle_preview_contents = get_bool(content);
+ } else if (!strcasecmp(nodename, "outlines.windowSwitcher.core")) {
+ rc.cycle_preview_outlines = get_bool(content);
+
+ /* The following three are for backward compatibility only */
} else if (!strcasecmp(nodename, "cycleViewOSD.core")) {
rc.cycle_view_osd = get_bool(content);
+ wlr_log(WLR_ERROR, "<cycleViewOSD> is deprecated."
+ " Use <windowSwitcher show=\"\" />");
} else if (!strcasecmp(nodename, "cycleViewPreview.core")) {
rc.cycle_preview_contents = get_bool(content);
+ wlr_log(WLR_ERROR, "<cycleViewPreview> is deprecated."
+ " Use <windowSwitcher preview=\"\" />");
} else if (!strcasecmp(nodename, "cycleViewOutlines.core")) {
rc.cycle_preview_outlines = get_bool(content);
+ wlr_log(WLR_ERROR, "<cycleViewOutlines> is deprecated."
+ " Use <windowSwitcher outlines=\"\" />");
+
} else if (!strcasecmp(nodename, "name.names.desktops")) {
struct workspace *workspace = znew(*workspace);
workspace->name = xstrdup(content);