diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-07-30 20:16:08 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-07-30 20:16:08 +0200 |
| commit | b1be5f1aad97639bf1b0b5d73ebfa9c3ed2fc998 (patch) | |
| tree | cd7f6f892271e04a0e593b4fc439900b449aae55 /unity-shared | |
| parent | 306bc106319317664e11d6d85a0d54978708040b (diff) | |
PluginAdapter: flush after ungrabbing the keyboard, or we might get into troubles
Fixes LP: #1349128 (bzr r3844.2.1)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/PluginAdapter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unity-shared/PluginAdapter.cpp b/unity-shared/PluginAdapter.cpp index 4ba844d5a..180455585 100644 --- a/unity-shared/PluginAdapter.cpp +++ b/unity-shared/PluginAdapter.cpp @@ -1254,6 +1254,7 @@ bool PluginAdapter::IsScreenGrabbed() const if (ret == GrabSuccess) { XUngrabKeyboard(dpy, CurrentTime); + XFlush(dpy); if (CompWindow* w = m_Screen->findWindow(m_Screen->activeWindow())) w->moveInputFocusTo(); |
