Blame 0010-Fix-GUI-layouts-on-Wayland.patch

Jiri Konecny f2565ea
From dad2db1c6a5c596c8ec7ab4a1b4030643c294edc Mon Sep 17 00:00:00 2001
Jiri Konecny f2565ea
From: Jiri Konecny <DragonLichcz@gmail.com>
Jiri Konecny f2565ea
Date: Mon, 10 Oct 2016 10:49:38 +0200
Jiri Konecny f2565ea
Subject: [PATCH] Fix GUI layouts on Wayland
Jiri Konecny f2565ea
Jiri Konecny f2565ea
This is just a hotfix and it should be fixed properly in the code later.
Jiri Konecny f2565ea
---
Jiri Konecny f2565ea
 Makefile | 2 +-
Jiri Konecny f2565ea
 1 file changed, 1 insertion(+), 1 deletion(-)
Jiri Konecny f2565ea
Jiri Konecny f2565ea
diff --git a/Makefile b/Makefile
Jiri Konecny f2565ea
index 2242fa6..4f2d134 100644
Jiri Konecny f2565ea
--- a/Makefile
Jiri Konecny f2565ea
+++ b/Makefile
Jiri Konecny f2565ea
@@ -49,7 +49,7 @@ build:
Jiri Konecny f2565ea
 	$(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd
Jiri Konecny f2565ea
 	$(PYTHON) ./python/*.py
Jiri Konecny f2565ea
 	$(PYTHON) ./python/lib/*.py
Jiri Konecny f2565ea
-	echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux "$$@"\nexit 0' > ./bin/playonlinux
Jiri Konecny f2565ea
+	echo -e '#!/bin/bash\nGDK_BACKEND=x11 ${sharedir}/playonlinux/playonlinux "$$@"\nexit 0' > ./bin/playonlinux
Jiri Konecny f2565ea
 	echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit 0' > ./bin/playonlinux-pkg
Jiri Konecny f2565ea
 	chmod +x ./bin/playonlinux
Jiri Konecny f2565ea
 	chmod +x ./bin/playonlinux-pkg
Jiri Konecny f2565ea
-- 
Jiri Konecny f2565ea
2.7.4
Jiri Konecny f2565ea