--- old/modules/javafx.graphics/src/main/native-glass/gtk/GlassApplication.cpp 2017-04-04 10:18:09.775716502 -0700 +++ new/modules/javafx.graphics/src/main/native-glass/gtk/GlassApplication.cpp 2017-04-04 10:18:09.575716509 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -516,6 +516,8 @@ default: break; } + // update GTK structures to receive the synchronous changes + gdk_display_sync(gdk_display_get_default()); } catch (jni_exception&) { } } else {