summaryrefslogtreecommitdiff
path: root/otk/otk_test.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-15 03:10:34 +0000
committerDana Jansens <danakj@orodu.net>2002-11-15 03:10:34 +0000
commit0856b11de843db30b5053c8cb7d9c84eae262852 (patch)
tree92d22b33c71a3d3e6f18e8bf167d826f8dff3739 /otk/otk_test.cc
parentd97db164304972445e14c6702b76af0259e3d3be (diff)
resizes
Diffstat (limited to 'otk/otk_test.cc')
-rw-r--r--otk/otk_test.cc7
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);
+ }
}
}