Commit ddc985ce authored by Benoît Minisini's avatar Benoît Minisini
Browse files

Use 'qApp->sync()' instead of 'X11_flush()' to synchronize with the X11 server.

[GB.QT5.X11]
* NEW: Use 'qApp->sync()' instead of 'X11_flush()' to synchronize with the X11 server.
parent 00a58515
Pipeline #361721489 passed with stage
in 27 minutes and 8 seconds
......@@ -320,7 +320,8 @@ static void window_remap(QWidget *window)
static void window_set_properties(QWidget *window, int which, QT_WINDOW_PROP *prop)
{
X11_flush();
//X11_flush();
qApp->sync();
if (which & (PROP_STACKING | PROP_SKIP_TASKBAR))
{
......@@ -344,7 +345,7 @@ static void window_set_properties(QWidget *window, int which, QT_WINDOW_PROP *pr
if (which & PROP_STICKY)
X11_window_set_desktop(window->effectiveWinId(), window->isVisible(), prop->sticky ? 0xFFFFFFFF : X11_get_current_desktop());
X11_flush();
qApp->sync();
}
static void window_set_user_time(QWidget *window, int timestamp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment