changeset 8269:6c32224edbf9 8u40-b11

RT-39047: reverting change from RT-31306 which caused razor size error
author ddhill
date Mon, 20 Oct 2014 14:07:53 -0400
parents 8afb1b87d0b2
children 5ed3d134f118 a4f3445d51b2 a151b45a99fe
files modules/graphics/src/main/native-glass/gtk/glass_window.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-glass/gtk/glass_window.cpp	Fri Oct 17 15:40:21 2014 -0700
+++ b/modules/graphics/src/main/native-glass/gtk/glass_window.cpp	Mon Oct 20 14:07:53 2014 -0400
@@ -963,13 +963,13 @@
     } else {
         --stale_config_notifications;
     }
-    if (jview && map_received) {
+    if (jview) {
         mainEnv->CallVoidMethod(jview, jViewNotifyResize,
                 event->width,
                 event->height);
         CHECK_JNI_EXCEPTION(mainEnv)
     }
-    if (jwindow && map_received) {
+    if (jwindow) {
         mainEnv->CallVoidMethod(jwindow, jWindowNotifyResize,
                 (is_maximized)
                     ? com_sun_glass_events_WindowEvent_MAXIMIZE
@@ -1139,7 +1139,7 @@
         return;
     }
 
-    if (!(gtk_widget_get_visible(gtk_widget) && map_received)) {
+    if (!gtk_widget_get_visible(gtk_widget)) {
         // not visible yet, synchronize with gtk only
         if (windowChangesMask & (CWX | CWY)) {
             gint newX, newY;