summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2012-04-23 20:12:06 +0000
committerMatthias Melcher <fltk@matthiasm.com>2012-04-23 20:12:06 +0000
commite2d3d400cdc2c8fdf51cb171109e06ecf41410b5 (patch)
tree37ad52b541b678dbad88daee35e164bb17769884 /src
parentd07ef8020747fbeac907417b1420ed19690bec16 (diff)
Reverted flags in Fl_Widget to protected.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9388 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index e213a8e05..bd4778286 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -2053,7 +2053,7 @@ void Fl_X::make(Fl_Window* w)
x->gc = 0;
NSRect crect;
- if (w->flags() & Fl_Widget::FULLSCREEN) {
+ if (w->fullscreen_active()) {
int sx, sy, sw, sh;
Fl::screen_xywh(sx, sy, sw, sh, w->x(), w->y(), w->w(), w->h());
w->resize(sx, sy, sw, sh);