#include "labwc.h"
/*
- * Sequence these according to the order they should be processes for
+ * Sequence these according to the order they should be processed for
* press and hover events. Bear in mind that some of their respective
* interactive areas overlap, so for example buttons need to come before title.
*/
LAB_SSD_PART_RIGHT,
LAB_SSD_PART_BOTTOM,
LAB_SSD_PART_LEFT,
+ LAB_SSD_CLIENT,
+ LAB_SSD_FRAME,
+ LAB_SSD_ROOT,
LAB_SSD_END_MARKER
};
return LAB_SSD_BUTTON_MAXIMIZE;
} else if (!strcasecmp(str, "Iconify")) {
return LAB_SSD_BUTTON_ICONIFY;
+ } else if (!strcasecmp(str, "Frame")) {
+ return LAB_SSD_FRAME;
+ } else if (!strcasecmp(str, "Client")) {
+ return LAB_SSD_CLIENT;
+ } else if (!strcasecmp(str, "Desktop")) {
+ return LAB_SSD_ROOT;
+ } else if (!strcasecmp(str, "Root")) {
+ return LAB_SSD_ROOT;
}
wlr_log(WLR_ERROR, "unknown mouse context (%s)", str);
return LAB_SSD_NONE;