]> Dogcows Code - chaz/openbox/blobdiff - src/frame.cc
make window placement not go off screen at all
[chaz/openbox] / src / frame.cc
index e85ff345252764058af8bbe358fcf9fc3aa2af63..9606c4209251b4cb1430e21d82f92cc10df3d67c 100644 (file)
@@ -75,12 +75,12 @@ void Frame::setStyle(otk::Style *style)
 {
   assert(style);
 
-  otk::Widget::setStyle(style);
-
   // if a style was previously set, then 'replace' is true, cause we're
   // replacing a style
   bool replace = (_style);
 
+  otk::Widget::setStyle(style);
+
   if (replace) {
     // XXX: do shit here whatever
   }
This page took 0.01968 seconds and 4 git commands to generate.