Adding sortscreens patch

This commit is contained in:
bakkeby
2019-10-07 22:56:53 +02:00
parent fc28c6a7b2
commit 2612060419
7 changed files with 46 additions and 0 deletions

3
patch/sortscreens.h Normal file
View File

@@ -0,0 +1,3 @@
#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);