diff options
| -rw-r--r-- | FL/Fl_Widget.H | 5 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 2e08cb891..27e6801c2 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -687,11 +687,6 @@ public: */ void clear_visible() {flags_ |= INVISIBLE;} - /** Returns whether the widget is in full screen mode - \retval non 0 if in full screen mode - */ - unsigned int is_fullscreen() const {return (flags_ & FULLSCREEN);} - /** Returns whether the widget is active. \retval 0 if the widget is inactive \see active_r(), activate(), deactivate() diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 864a3148a..18a34dd05 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1316,7 +1316,7 @@ int Fl_X::fake_X_wm(const Fl_Window* w,int &X,int &Y, int &bt,int &bx, int &by) X+=xoff; Y+=yoff; - if (w->is_fullscreen()) { + if (w->fullscreen_active()) { X = Y = 0; bx = by = bt = 0; } @@ -1628,7 +1628,7 @@ Fl_X* Fl_X::make(Fl_Window* w) { ); if (lab) free(lab); - if (w->is_fullscreen()) { + if (w->fullscreen_active()) { /* We need to make sure that the fullscreen is created on the default monitor, ie the desktop where the shortcut is located etc. This requires that CreateWindow is called with CW_USEDEFAULT |
