projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3aec9
)
add a check for ShapeBounding shape events
author
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 06:37:02 +0000
(06:37 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 06:37:02 +0000
(06:37 +0000)
src/client.cc
patch
|
blob
|
history
diff --git
a/src/client.cc
b/src/client.cc
index 72a98afbf7338f4602494380ac214abbb525683e..70673c50ce53ab1884ed88db2cbd3bbc34fab1dd 100644
(file)
--- a/
src/client.cc
+++ b/
src/client.cc
@@
-921,9
+921,11
@@
void OBClient::clientMessageHandler(const XClientMessageEvent &e)
void OBClient::shapeHandler(const XShapeEvent &e)
{
otk::OtkEventHandler::shapeHandler(e);
-
- _shaped = e.shaped;
- frame->adjustShape();
+
+ if (e.kind == ShapeBounding) {
+ _shaped = e.shaped;
+ frame->adjustShape();
+ }
}
#endif