diff options
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 5a9db99bd..4299374b9 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2030,7 +2030,7 @@ void Fl_X::make(Fl_Window* w) wp += 2*bx; hp += 2*by+bt; } - if (w->flags() & Fl_Window::FORCE_POSITION) { + if (w->force_position()) { if (!Fl::grab()) { xp = xwm; yp = ywm; w->x(xp);w->y(yp); @@ -2076,7 +2076,7 @@ void Fl_X::make(Fl_Window* w) [cw setLevel:winlevel]; q_set_window_title(cw, w->label(), w->iconlabel()); - if (!(w->flags() & Fl_Window::FORCE_POSITION)) { + if (!w->force_position()) { if (w->modal()) { [cw center]; } else if (w->non_modal()) { |
