Check whether there is any BadWindow error before monitor the event

Authored by xuetianweng on Feb 9 2016, 2:56 AM.

Description

Check whether there is any BadWindow error before monitor the event

The tray window itself may be destroyed before we start monitor the
event of it. Check the returned error and skip this window if BadWindow
happens.

FIXED-IN: 5.6.0
BUG: 358719
REVIEW: 127014

Details

Committed
xuetianwengFeb 9 2016, 3:29 AM
Parents
R871:49977bfb4200: Add transparency support for tray icon
Branches
Unknown
Tags
Unknown