diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-01-27 16:28:15 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-01-27 16:28:15 +0100 |
commit | 56610fb847eaf1fe27a5b7331ede93296ff835ff (patch) | |
tree | 807a10d413facd71e21816ca12459d5161298510 /vncviewer/cocoa.mm | |
parent | 7e4da45422ecfb0746c5c79593a642a275142643 (diff) | |
download | tigervnc-56610fb847eaf1fe27a5b7331ede93296ff835ff.tar.gz tigervnc-56610fb847eaf1fe27a5b7331ede93296ff835ff.zip |
Raise FLTK requirement to 1.3.3
This means that we can remove a lot of conditionals and fallback code.
Diffstat (limited to 'vncviewer/cocoa.mm')
-rw-r--r-- | vncviewer/cocoa.mm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vncviewer/cocoa.mm b/vncviewer/cocoa.mm index e9e09683..5869d5b2 100644 --- a/vncviewer/cocoa.mm +++ b/vncviewer/cocoa.mm @@ -60,11 +60,7 @@ int cocoa_capture_display(Fl_Window *win, bool all_displays) if (count != Fl::screen_count()) return 1; -#ifdef HAVE_FLTK_FULLSCREEN_SCREENS index = Fl::screen_num(win->x(), win->y(), win->w(), win->h()); -#else - index = 0; -#endif if (CGDisplayCapture(displays[index]) != kCGErrorSuccess) return 1; @@ -99,11 +95,9 @@ void cocoa_release_display(Fl_Window *win) // FIXME: Store the previous level somewhere so we don't have to hard // code a level here. -#ifdef HAVE_FLTK_FULLSCREEN if (win->fullscreen_active() && win->contains(Fl::focus())) newlevel = NSStatusWindowLevel; else -#endif newlevel = NSNormalWindowLevel; // Only change if different as the level change also moves the window |