all repos — openbox @ 9c398557df14070747d8eb96d4d19c0643a65cd0

openbox fork - make it a bit more like ryudo

fix some errs
Dana Jansens danakj@orodu.net
commit

9c398557df14070747d8eb96d4d19c0643a65cd0

parent

fcbb82770cb8d0b727e697830d96c9e131da03a2

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M otk/otk_test.ccotk/otk_test.cc

@@ -11,7 +11,8 @@ int main(void) {

otk::OBDisplay::initialize(NULL); otk::Configuration style_conf(False); otk::OBTimerQueueManager *tm = new otk::OBTimerQueueManager(); - const otk::ScreenInfo *s_info = otk::OBDisplay::screenInfo(0); + const otk::ScreenInfo *s_info = + otk::OBDisplay::screenInfo(DefaultScreen(otk::OBDisplay::display)); otk::BImageControl *ctrl = new otk::BImageControl(tm, s_info, True, 4, 5, 200); otk::Style *my_style = new otk::Style(0ul, ctrl);

@@ -52,6 +53,8 @@

delete my_style; delete tm; delete ctrl; + + otk::OBDisplay::destroy(); return 0; }