X11: Window.show() - flush display after resize (do not show resize steps).

This commit is contained in:
and3md 2017-10-07 17:17:28 +02:00
parent 903aba9c5a
commit c999873d60
1 changed files with 2 additions and 1 deletions

View File

@ -452,7 +452,7 @@ class X11Window : DWindow {
override void show() {
Log.d("X11Window.show");
XMapRaised(x11display, _win);
XFlush(x11display);
static if (ENABLE_OPENGL) {
if (_enableOpengl) {
_glc = glXCreateContext(x11display, x11visual, null, GL_TRUE);
@ -484,6 +484,7 @@ class X11Window : DWindow {
_mainWidget.setFocus();
}
XFlush(x11display);
}
override protected void handleWindowStateChange(WindowState newState, Rect newWindowRect = RECT_VALUE_IS_NOT_SET) {