window, screen_support_win);
/* set the _NET_SUPPORTED_ATOMS hint */
- num_support = 50;
+ num_support = 51;
i = 0;
supported = g_new(guint32, num_support);
supported[i++] = prop_atoms.net_current_desktop;
supported[i++] = prop_atoms.net_wm_state_below;
supported[i++] = prop_atoms.net_moveresize_window;
supported[i++] = prop_atoms.net_wm_moveresize;
+ supported[i++] = prop_atoms.ob_wm_state_undecorated;
g_assert(i == num_support);
/*
supported[] = prop_atoms.net_wm_action_stick;
return 0;
}
-static void popup_cycle(guint d, gboolean show)
+void screen_desktop_popup(guint d, gboolean show)
{
Rect *a;
- if (!show) {
+ if (!show || !config_dialog_desktop) {
pager_popup_hide(desktop_cycle_popup);
} else {
a = screen_physical_area_monitor(0);
}
if (dialog) {
- popup_cycle(d, TRUE);
+ screen_desktop_popup(d, TRUE);
return d;
}
done_cycle:
first = TRUE;
- popup_cycle(0, FALSE);
+ screen_desktop_popup(0, FALSE);
return d;
}