Skip to content

Commit

Permalink
MacOS: slightly simpler implementation of Fl_Cocoa_Window_Driver::wai…
Browse files Browse the repository at this point in the history
…t_for_expose().

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Nov 26, 2018
1 parent 3be39b0 commit d8c4447
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Fl_cocoa.mm
Expand Up @@ -3267,11 +3267,7 @@ - (NSDragOperation)draggingSession:(NSDraggingSession *)session sourceOperationM
if (fl_mac_os_version < 101300) {
[fl_xid(pWindow) recursivelySendToSubwindows:@selector(waitForExpose)];
} else {
while (dropped_files_list) {
drain_dropped_files_list();
}
[NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil
inMode:NSDefaultRunLoopMode dequeue:NO];
Fl_Window_Driver::wait_for_expose();
}
}

Expand Down

0 comments on commit d8c4447

Please sign in to comment.