Make sure gdk threads are synced when setting the xwindow id
-rw-r--r-- 19500 hls-player.py