X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.cc;h=9606c4209251b4cb1430e21d82f92cc10df3d67c;hb=1a5fb96b415488a4dd48cef7ce90dea058f0de85;hp=e85ff345252764058af8bbe358fcf9fc3aa2af63;hpb=cdcc526a0274cace9f542960fe4eee4ddcc23d31;p=chaz%2Fopenbox diff --git a/src/frame.cc b/src/frame.cc index e85ff345..9606c420 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -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 }