summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-10-05 17:21:08 +0000
committerFabien Costantini <fabien@onepost.net>2008-10-05 17:21:08 +0000
commitcf001ac33882f2433892e95bf677abe7cf7985ac (patch)
tree68b7765ca3fd1d5661fd9414ee337e1d283b45ee /test
parent8d5f884b4a196be9be9aad8a037901c8e7ff8950 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/tile.cxx5
1 files changed, 5 insertions, 0 deletions
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 <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();