mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 06:56:24 +08:00
STR#2051 fix: Tile would still change the mouse cursor when inactive.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include <FL/Fl_Tile.H>
|
||||
#include <FL/Fl_Box.H>
|
||||
|
||||
//#define TEST_INACTIVE
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
Fl_Window window(300,300);
|
||||
window.box(FL_NO_BOX);
|
||||
@@ -82,6 +84,9 @@ int main(int argc, char** argv) {
|
||||
|
||||
tile.end();
|
||||
window.end();
|
||||
#ifdef TEST_INACTIVE // test inactive case
|
||||
tile.deactivate();
|
||||
#endif
|
||||
w1.show();
|
||||
window.show(argc,argv);
|
||||
return Fl::run();
|
||||
|
||||
Reference in New Issue
Block a user