commit | bb5ef9038392f80a9fdd554cfb1989415d4e1fab | [log] [tgz] |
---|---|---|
author | Daniel Erat <derat@google.com> | Thu Apr 22 00:02:48 2010 |
committer | Daniel Erat <derat@google.com> | Thu Apr 22 00:02:48 2010 |
tree | 3bb0f25e800922a28806dc4a08a71f1d1d054842 | |
parent | a9781ce097ab0a8f1bceb4aa2d08dffe61ca6e1d [diff] |
acpi: Give WM time to draw xscreensaver window on suspend. This is just a hacky workaround for a race where we suspend before the screen gets updated, resulting in the previous contents being briefly visible on resume. xscreensaver avoids this in non-compositing setups by syncing with the X server, but screen updates are asynchronous when compositing is being used. BUG=chromium-os:2250 TEST=tried it Review URL: http://codereview.chromium.org/1690003