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

Don't use 'qApp->sync()', it calls the event loop.

[GB.QT5.X11]
* BUG: Don't use 'qApp->sync()', it calls the event loop.
parent f68e2fe6
Pipeline #363565953 passed with stage
in 26 minutes and 38 seconds
......@@ -320,8 +320,7 @@ static void window_remap(QWidget *window)
static void window_set_properties(QWidget *window, int which, QT_WINDOW_PROP *prop)
{
//X11_flush();
qApp->sync();
X11_flush();
if (which & (PROP_STACKING | PROP_SKIP_TASKBAR))
{
......@@ -345,7 +344,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());
qApp->sync();
X11_flush();
}
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