Fix for "undefined reference to symbol 'XQueryPointer'"
Use GtkDialog instead of GtkWindow.