This commit is contained in:
Mirek Fidler 2025-02-13 10:50:01 +01:00
parent 90e678e30f
commit bb0f4dde23

View file

@ -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());