app/dock: fix error size of preview window

new version of libgdk need add GDK_STRUCTURE_MASK to enable sync
window size.

Change-Id: Ie9d8e0eac0c30a362cd70aaf738506151d7908c8