aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index cf20503..c64a0c9 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -568,6 +568,11 @@ void FluxboxWindow::shape() {
568#ifdef SHAPE 568#ifdef SHAPE
569 if (m_shaped) { 569 if (m_shaped) {
570 XShapeCombineShape(display, 570 XShapeCombineShape(display,
571 frame().window().window(), ShapeClip,
572 0, frame().clientArea().y(), // xOff, yOff
573 m_client->window(),
574 ShapeClip, ShapeSet);
575 XShapeCombineShape(display,
571 frame().window().window(), ShapeBounding, 576 frame().window().window(), ShapeBounding,
572 0, frame().clientArea().y(), // xOff, yOff 577 0, frame().clientArea().y(), // xOff, yOff
573 m_client->window(), 578 m_client->window(),
@@ -2249,6 +2254,10 @@ void FluxboxWindow::handleEvent(XEvent &event) {
2249 m_shaped = false; 2254 m_shaped = false;
2250 // set no shape 2255 // set no shape
2251 XShapeCombineMask(display, 2256 XShapeCombineMask(display,
2257 frame().window().window(), ShapeClip,
2258 0, 0,
2259 None, ShapeSet);
2260 XShapeCombineMask(display,
2252 frame().window().window(), ShapeBounding, 2261 frame().window().window(), ShapeBounding,
2253 0, 0, 2262 0, 0,
2254 None, ShapeSet); 2263 None, ShapeSet);
@@ -3080,10 +3089,11 @@ void FluxboxWindow::applyDecorations(bool initial) {
3080 } 3089 }
3081 3090
3082 frame().reconfigure(); 3091 frame().reconfigure();
3083 if (!initial && client_move) { 3092 if (client_move)
3084 Fluxbox::instance()->updateFrameExtents(*this); 3093 Fluxbox::instance()->updateFrameExtents(*this);
3094
3095 if (!initial && client_move)
3085 sendConfigureNotify(); 3096 sendConfigureNotify();
3086 }
3087 3097
3088} 3098}
3089 3099