summaryrefslogtreecommitdiff
path: root/src/Fl_grab.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
commit50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 (patch)
tree4b62978d21ee57df7027461b8ea2846c17308d11 /src/Fl_grab.cxx
parenta3c0dac034c919c2714f3f129a9f5d9d26ae3de4 (diff)
Mark places that need to be refactored with // PORTME:
Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_grab.cxx')
-rw-r--r--src/Fl_grab.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_grab.cxx b/src/Fl_grab.cxx
index 5778607ab..38e51d368 100644
--- a/src/Fl_grab.cxx
+++ b/src/Fl_grab.cxx
@@ -36,7 +36,7 @@ extern void fl_fix_focus(); // in Fl.cxx
// see where and how this is used.
extern HWND fl_capture;
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) // PORTME: platform focus grabbing
extern void *fl_capture;
#elif defined(FL_PORTING)
@@ -61,7 +61,7 @@ void Fl::grab(Fl_Window* win) {
#ifdef WIN32
SetActiveWindow(fl_capture = fl_xid(first_window()));
SetCapture(fl_capture);
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) // PORTME: platform focus grabbing
fl_capture = Fl_X::i(first_window())->xid;
Fl_X::i(first_window())->set_key_window();
#elif defined(FL_PORTING)
@@ -92,7 +92,7 @@ void Fl::grab(Fl_Window* win) {
#ifdef WIN32
fl_capture = 0;
ReleaseCapture();
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) // PORTME: platform focus grabbing
fl_capture = 0;
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: implement event grabbing"