diff --git a/dlangui-monod-linux.dproj b/dlangui-monod-linux.dproj
index af1cea46..a2351c67 100644
--- a/dlangui-monod-linux.dproj
+++ b/dlangui-monod-linux.dproj
@@ -156,10 +156,10 @@
obj/DebugX11
- false
+ true
- X
+ -L-lX11
-Jviews
diff --git a/examples/example1/example1-monod-linux.dproj b/examples/example1/example1-monod-linux.dproj
index d2281597..3eef1003 100644
--- a/examples/example1/example1-monod-linux.dproj
+++ b/examples/example1/example1-monod-linux.dproj
@@ -18,6 +18,7 @@
../../src
../../deps/dlib
../../deps/gl3n
+ ../../deps/x11/source
../../deps/DerelictSDL2/source
../../deps/DerelictFT/source
../../deps/DerelictGL3/source
@@ -168,10 +169,17 @@
true
0
-
+
bin\DebugX11
+
+
+ USE_X11
+ USE_FREETYPE
+ EmbedStandardResources
+
+
obj/DebugX11
- false
+ true
-Jviews
-Jviews/res
-Jviews/res/hdpi
@@ -183,6 +191,12 @@
Executable
true
0
+ -lX11
+
+
+ -L-lX11
+
+
diff --git a/src/dlangui/platforms/x11/x11app.d b/src/dlangui/platforms/x11/x11app.d
index 2b99130a..b3e03e16 100644
--- a/src/dlangui/platforms/x11/x11app.d
+++ b/src/dlangui/platforms/x11/x11app.d
@@ -13,6 +13,8 @@ import dlangui.widgets.styles;
import dlangui.widgets.widget;
import dlangui.platforms.common.platform;
+import std.stdio;
+
import x11.Xlib;
import x11.Xutil;
import x11.Xtos;
@@ -48,6 +50,8 @@ class X11Window : dlangui.platforms.common.platform.Window {
*/
_win = XCreateSimpleWindow(x11display, DefaultRootWindow(x11display), 0, 0,
_dx, _dy, 5, white, black);
+
+ readln();
/* here is where some properties of the window can be set.
The third and fourth items indicate the name which appears