diff options
Diffstat (limited to 'otk/otk_test.cc')
| -rw-r--r-- | otk/otk_test.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/otk/otk_test.cc b/otk/otk_test.cc index f36fcf99..e81b777d 100644 --- a/otk/otk_test.cc +++ b/otk/otk_test.cc @@ -5,6 +5,7 @@ #include "timerqueuemanager.hh" #include "image.hh" #include "style.hh" +#include <iostream> int main(void) { otk::OBDisplay::initialize(NULL); @@ -59,8 +60,12 @@ int main(void) { if (XPending(otk::OBDisplay::display)) { XEvent e; XNextEvent(otk::OBDisplay::display, &e); - if (e.type == Expose) + if (e.type == Expose) { foo.expose(e.xexpose); + } else if (e.type == ConfigureNotify) { + std::cout << "configure\n"; + foo.configure(e.xconfigure); + } } } |
