From 92051890f1127429142cc0b60e3e9a1e567bf01d Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Mon, 13 Oct 2008 23:10:43 +0000 Subject: Quickdraw removal: option removed from configure, all Qd code removed from sources. Also took this opportunity to sort the ifdef clauses so that USE_X11 shows first. Also added error pragma to enforce proper target checking, thus make even less assumptions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window_fullscreen.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Window_fullscreen.cxx') 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 } -- cgit v1.2.3