mirror of https://github.com/fltk/fltk
Mac OS: Added missing lock/unlock calls in Fl_Paged_Device::print_window().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
5faaebe373
commit
20ab9c3c33
|
@ -3417,6 +3417,7 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset)
|
|||
this->print_widget(win, x_offset, y_offset);
|
||||
return;
|
||||
}
|
||||
fl_lock_function(); // necessary because of call to Fl::check() below.
|
||||
int bx, by, bt;
|
||||
get_window_frame_sizes(bx, by, bt);
|
||||
Fl_Display_Device::display_device()->set_current(); // send win to front and make it current
|
||||
|
@ -3443,6 +3444,7 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset)
|
|||
}
|
||||
}
|
||||
this->print_widget(win, x_offset, y_offset + bt); // print the window inner part
|
||||
fl_unlock_function();
|
||||
}
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
|
Loading…
Reference in New Issue