diff options
| author | Manolo Gouy <Manolo> | 2011-09-30 13:09:06 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-09-30 13:09:06 +0000 |
| commit | 2df4196d8b29fdb3d4708741c9b76805a9bb6241 (patch) | |
| tree | f85c740ca3be84baf9915b325db66f49156adc4b /src/screen_xywh.cxx | |
| parent | 7694e9b0a650c0a724db0415579a56cb2ad13e74 (diff) | |
About STR#2600 : some code factorization.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/screen_xywh.cxx')
| -rw-r--r-- | src/screen_xywh.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/screen_xywh.cxx b/src/screen_xywh.cxx index 878b9bf9a..aa7719eb0 100644 --- a/src/screen_xywh.cxx +++ b/src/screen_xywh.cxx @@ -142,10 +142,6 @@ static void screen_init() { num_screens = count; } -void Fl_X::mac_screen_init() { - screen_init(); - } - #elif HAVE_XINERAMA # include <X11/extensions/Xinerama.h> @@ -189,6 +185,11 @@ static void screen_init() { } #endif // WIN32 +#ifndef FL_DOXYGEN +void Fl::call_screen_init() { + screen_init(); +} +#endif /** Gets the number of available screens. |
