"classic" displays window information like icons and titles in a vertical list.
"thumbnail" shows window thumbnail, icon and title in grids.
- *output* [all|pointer|keyboard] Configures which monitor(s) show the OSD.
+ *output* [all|focused|cursor] Configures which monitor(s) show the OSD.
"all" displays the OSD on all monitors.
- "pointer" displays the OSD on the monitor containing the mouse pointer.
- "keyboard" displays the OSD on the monitor with keyboard focus.
+ "focused" displays the OSD on the monitor with keyboard focus.
+ "cursor" displays the OSD on the monitor containing the mouse pointer.
Default is "all".
*thumbnailLabelFormat* Format to be used for the thumbnail label according to *custom*
enum cycle_osd_output_criteria {
CYCLE_OSD_OUTPUT_ALL,
- CYCLE_OSD_OUTPUT_POINTER,
- CYCLE_OSD_OUTPUT_KEYBOARD,
+ CYCLE_OSD_OUTPUT_CURSOR,
+ CYCLE_OSD_OUTPUT_FOCUSED,
};
#endif /* LABWC_CONFIG_TYPES_H */
} else if (!strcasecmp(nodename, "output.osd.windowSwitcher")) {
if (!strcasecmp(content, "all")) {
rc.window_switcher.output_criteria = CYCLE_OSD_OUTPUT_ALL;
- } else if (!strcasecmp(content, "pointer")) {
- rc.window_switcher.output_criteria = CYCLE_OSD_OUTPUT_POINTER;
- } else if (!strcasecmp(content, "keyboard")) {
- rc.window_switcher.output_criteria = CYCLE_OSD_OUTPUT_KEYBOARD;
+ } else if (!strcasecmp(content, "cursor")) {
+ rc.window_switcher.output_criteria = CYCLE_OSD_OUTPUT_CURSOR;
+ } else if (!strcasecmp(content, "focused")) {
+ rc.window_switcher.output_criteria = CYCLE_OSD_OUTPUT_FOCUSED;
} else {
wlr_log(WLR_ERROR, "Invalid windowSwitcher output %s: "
- "should be one of all|pointer|keyboard", content);
+ "should be one of all|focused|cursor", content);
}
/* The following two are for backward compatibility only. */
}
break;
}
- case CYCLE_OSD_OUTPUT_POINTER:
+ case CYCLE_OSD_OUTPUT_CURSOR:
create_osd_on_output(output_nearest_to_cursor(server));
break;
- case CYCLE_OSD_OUTPUT_KEYBOARD: {
+ case CYCLE_OSD_OUTPUT_FOCUSED: {
struct output *output;
if (server->active_view) {
output = server->active_view->output;