summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-04 05:18:33 +0000
committerDana Jansens <danakj@orodu.net>2003-01-04 05:18:33 +0000
commitbf404e092be46801b1a78f9a71e10d0d00b75894 (patch)
tree5beb02abff23d8cc1e019206d5f7d2ade7f8fc08 /src
parente3b50c2d137ba194073dc062edf73e79c18b7fe8 (diff)
make the frame window override-redirect
Diffstat (limited to 'src')
-rw-r--r--src/frame.cc4
-rw-r--r--src/frame.hh2
2 files changed, 2 insertions, 4 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();
}
diff --git a/src/frame.hh b/src/frame.hh
index e7a55237..44153d46 100644
--- a/src/frame.hh
+++ b/src/frame.hh
@@ -34,7 +34,7 @@ public:
//! The event mask to grab on frame windows
static const long event_mask = EnterWindowMask | LeaveWindowMask;
-
+
private:
OBClient *_client;
const otk::ScreenInfo *_screen;