From 0856b11de843db30b5053c8cb7d9c84eae262852 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 15 Nov 2002 03:10:34 +0000 Subject: resizes --- otk/otk_test.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'otk/otk_test.cc') 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 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); + } } } -- cgit v1.2.3