]> Dogcows Code - chaz/openbox/blobdiff - src/frame.cc
decor and functions set set right for !normal windows
[chaz/openbox] / src / frame.cc
index 7a99f9a06e20652e2612eae73c81c4f3d88094e6..0cc96c2a6e401272ce062fdb1d1f9b9a4efb2831 100644 (file)
@@ -364,13 +364,13 @@ void OBFrame::adjustShape()
   
   if (!_client->shaped()) {
     // clear the shape on the frame window
-    XShapeCombineMask(otk::OBDisplay::display, window(), ShapeBounding,
+    XShapeCombineMask(otk::OBDisplay::display, _window, ShapeBounding,
                       _innersize.left,
                       _innersize.top,
                       None, ShapeSet);
   } else {
     // make the frame's shape match the clients
-    XShapeCombineShape(otk::OBDisplay::display, window(), ShapeBounding,
+    XShapeCombineShape(otk::OBDisplay::display, _window, ShapeBounding,
                        _innersize.left,
                        _innersize.top,
                        _client->window(), ShapeBounding, ShapeSet);
This page took 0.022687 seconds and 4 git commands to generate.