//
// Setting the overlay window ID is supposed to be done from a sync handler
// but that doesn't work on windows
//
if (!Platform.isWindows()) {
bus.setSyncHandler(new BusSyncHandler() {
public BusSyncReply syncMessage(Message msg) {
Structure s = msg.getStructure();
if (s == null || !s.hasName("prepare-xwindow-id")) {
return BusSyncReply.PASS;