summaryrefslogtreecommitdiff
path: root/patch/sortscreens.h
blob: 82915f4ac11740ea47a3fc879eca72c43291534d (plain)
1
2
3
4
#define RIGHTOF(a,b) (a.y_org > b.y_org) || ((a.y_org == b.y_org) && (a.x_org > b.x_org))

static void sortscreens(XineramaScreenInfo *screens, int n);