Call grab_server on this.
To ungrab the display again, use ungrab.
grab/gdk_x11_display_ungrab() calls can be nested.
a Display