summaryrefslogtreecommitdiff
path: root/src/frame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.cc')
-rw-r--r--src/frame.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/frame.cc b/src/frame.cc
index dc126ea3..d2760213 100644
--- a/src/frame.cc
+++ b/src/frame.cc
@@ -24,8 +24,7 @@ namespace ob {
const long OBFrame::event_mask;
OBFrame::OBFrame(OBClient *client, otk::Style *style)
- : otk::OtkWidget(Openbox::instance, style, Horizontal, 0, 1,
- CWOverrideRedirect),
+ : otk::OtkWidget(Openbox::instance, style, Horizontal, 0, 1, true),
OBWidget(Type_Frame),
_client(client),
_screen(otk::OBDisplay::screenInfo(client->screen())),
@@ -106,7 +105,6 @@ void OBFrame::focus()
{
otk::OtkWidget::focus();
update();
- _handle.update();
}