From bb0f4dde23edd5174ce0f06ff5636fda151b724a Mon Sep 17 00:00:00 2001 From: Mirek Fidler Date: Thu, 13 Feb 2025 10:50:01 +0100 Subject: [PATCH] .upptst --- upptst/WindowPosWayland/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/upptst/WindowPosWayland/main.cpp b/upptst/WindowPosWayland/main.cpp index aa74cf8ac..17e20d82b 100644 --- a/upptst/WindowPosWayland/main.cpp +++ b/upptst/WindowPosWayland/main.cpp @@ -2,6 +2,10 @@ using namespace Upp; +INITBLOCK { + Ctrl::UseWayland(); +} + struct MyApp : TopWindow { TimeCallback tm; virtual void Paint(Draw& w) { @@ -10,6 +14,7 @@ struct MyApp : TopWindow { int y = 0; String txt; #define DMP(x) txt << #x << " " << x << "\n"; + DMP(Ctrl::IsWayland()); DMP(GetScreenRect()); DMP(GetVirtualScreenArea()); DMP(GetVirtualWorkArea());