Fix build on gcc < 8

Fixes #175

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-05-24 00:06:53 +01:00
parent 094f00a048
commit 44bea480b2
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#include "win.h"
static const opacity_t OPAQUE = 0xffffffff;
#define OPAQUE (0xffffffff)
static const int WIN_GET_LEADER_MAX_RECURSION = 20;
static const int ROUNDED_PIXELS = 1;
static const double ROUNDED_PERCENT = 0.05;