Author: AlbrechtS
Date: 2012-12-12 09:27:23 -0800 (Wed, 12 Dec 2012)
New Revision: 9750
Log:
Fixed access of protected member (STR #2903)


Modified:
   branches/branch-1.3/CHANGES
   branches/branch-1.3/src/Fl_x.cxx

Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2012-12-11 17:18:38 UTC (rev 9749)
+++ branches/branch-1.3/CHANGES 2012-12-12 17:27:23 UTC (rev 9750)
@@ -1,3 +1,7 @@
+CHANGES IN FLTK 1.3.3
+
+       - Fixed access of protected member (STR #2903)
+
 CHANGES IN FLTK 1.3.2
 
        - Removed unnecessary drawing calls (STR #2898)

Modified: branches/branch-1.3/src/Fl_x.cxx
===================================================================
--- branches/branch-1.3/src/Fl_x.cxx    2012-12-11 17:18:38 UTC (rev 9749)
+++ branches/branch-1.3/src/Fl_x.cxx    2012-12-12 17:27:23 UTC (rev 9750)
@@ -1873,7 +1873,7 @@
   // since we do not want save_under, do not want to turn off the
   // border, and cannot grab without an existing window. Besides, 
   // there is no clear_override(). 
-  if (win->flags() & Fl_Widget::FULLSCREEN && !Fl_X::ewmh_supported()) {
+  if (win->fullscreen_active() && !Fl_X::ewmh_supported()) {
     attr.override_redirect = 1;
     mask |= CWOverrideRedirect;
     Fl::screen_xywh(X, Y, W, H, X, Y, W, H);
@@ -1940,7 +1940,7 @@
     }
 
     // If asked for, create fullscreen
-    if (win->flags() & Fl_Widget::FULLSCREEN && Fl_X::ewmh_supported()) {
+    if (win->fullscreen_active() && Fl_X::ewmh_supported()) {
       XChangeProperty (fl_display, xp->xid, fl_NET_WM_STATE, XA_ATOM, 32,
                        PropModeAppend, (unsigned char*) 
&fl_NET_WM_STATE_FULLSCREEN, 1);
     }
@@ -1984,7 +1984,7 @@
   }
 
   // non-EWMH fullscreen case, need grab
-  if (win->flags() & Fl_Widget::FULLSCREEN && !Fl_X::ewmh_supported()) {
+  if (win->fullscreen_active() && !Fl_X::ewmh_supported()) {
     XGrabKeyboard(fl_display, xp->xid, 1, GrabModeAsync, GrabModeAsync, 
fl_event_time);
   }
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to