From cf001ac33882f2433892e95bf677abe7cf7985ac Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sun, 5 Oct 2008 17:21:08 +0000 Subject: 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 --- test/tile.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/tile.cxx b/test/tile.cxx index c64d70803..895baa858 100644 --- a/test/tile.cxx +++ b/test/tile.cxx @@ -30,6 +30,8 @@ #include #include +//#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(); -- cgit v1.2.3