Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1110)

Issue 1386002: autox: Fix race condition and add get_screen_size(). (Closed)

Created:
10 years, 9 months ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
sosa
CC:
chromium-os-reviews_chromium.org, Daniel Erat, Chris Masone
Visibility:
Public.

Description

autox: Fix race condition and add get_screen_size(). python-xlib reuses IDs for subsequent windows, which is very handy for finding buggy code. :-( When we create a new window, there may be an in-flight DestroyNotify event about a previous window sharing its ID. Sync before creating the new window to make sure that we don't misinterpret which window the event is about. BUG=none TEST=none

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -17 lines) Patch
M src/platform/autox/autox.py View 7 chunks +22 lines, -17 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Daniel Erat
Sorry, one more change. On the bright side, I've written a test that uses this ...
10 years, 9 months ago (2010-03-25 23:13:54 UTC) #1
sosa
10 years, 9 months ago (2010-03-25 23:21:32 UTC) #2
lgtm!

Powered by Google App Engine
This is Rietveld 408576698