Nux

Merge lp:~brandontschaefer/nux/lp.1157879-fix into lp:nux

Proposed by Brandon Schaefer
Status: Merged
Approved by: Brandon Schaefer
Approved revision: 769
Merged at revision: 768
Proposed branch: lp:~brandontschaefer/nux/lp.1157879-fix
Merge into: lp:nux
Diff against target: 11 lines (+1/-0)
1 file modified
NuxGraphics/XInputWindow.cpp (+1/-0)
To merge this branch: bzr merge lp:~brandontschaefer/nux/lp.1157879-fix
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Andrea Azzarone (community) Approve
Review via email: mp+154811@code.launchpad.net

Commit message

Fixes a race condition when opening then closing the dash quickly. As the X event buffer doesn't flush until after the dash has closed causing the dash to get re-focused when the event buffer gets flushed.

To post a comment you must log in.
Revision history for this message
Andrea Azzarone (azzar1) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NuxGraphics/XInputWindow.cpp'
2--- NuxGraphics/XInputWindow.cpp 2012-12-17 19:04:50 +0000
3+++ NuxGraphics/XInputWindow.cpp 2013-03-21 21:21:21 +0000
4@@ -364,6 +364,7 @@
5 void XInputWindow::SetInputFocus()
6 {
7 XSetInputFocus(display_, window_, RevertToParent, CurrentTime);
8+ XSync(display_, False);
9 }
10
11 void XInputWindow::Hide()

Subscribers

People subscribed via source and target branches