diff options
Diffstat (limited to 'src/Fl_Window_fullscreen.cxx')
| -rw-r--r-- | src/Fl_Window_fullscreen.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Window_fullscreen.cxx b/src/Fl_Window_fullscreen.cxx index 03d9798b8..c72e70ec0 100644 --- a/src/Fl_Window_fullscreen.cxx +++ b/src/Fl_Window_fullscreen.cxx @@ -50,15 +50,15 @@ void Fl_Window::border(int b) { if (!border()) return; set_flag(FL_NOBORDER); } -#ifdef WIN32 +#if defined(USE_X11) + if (shown()) Fl_X::i(this)->sendxjunk(); +#elif defined(WIN32) // not yet implemented, but it's possible // for full fullscreen we have to make the window topmost as well -#elif defined(__APPLE_QD__) - // warning: not implemented in Quickdraw/Carbon #elif defined(__APPLE_QUARTZ__) // warning: not implemented in Quartz/Carbon #else - if (shown()) Fl_X::i(this)->sendxjunk(); +# error unsupported platform #endif } |
