aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 7734497..ce1670e 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -35,10 +35,6 @@
35 35
36#include "IconButton.hh" 36#include "IconButton.hh"
37 37
38#ifdef SHAPE
39#include "Shape.hh"
40#endif // SHAPE
41
42#include <algorithm> 38#include <algorithm>
43#include <X11/X.h> 39#include <X11/X.h>
44 40
@@ -999,7 +995,7 @@ void FbWinFrame::reconfigure() {
999 } 995 }
1000 996
1001 if (m_disable_themeshape) 997 if (m_disable_themeshape)
1002 m_shape.setPlaces(Shape::NONE); 998 m_shape.setPlaces(FbTk::Shape::NONE);
1003 else 999 else
1004 m_shape.setPlaces(theme().shapePlace()); 1000 m_shape.setPlaces(theme().shapePlace());
1005 1001
@@ -1012,7 +1008,7 @@ void FbWinFrame::setUseShape(bool value) {
1012 m_disable_themeshape = !value; 1008 m_disable_themeshape = !value;
1013 1009
1014 if (m_disable_themeshape) 1010 if (m_disable_themeshape)
1015 m_shape.setPlaces(Shape::NONE); 1011 m_shape.setPlaces(FbTk::Shape::NONE);
1016 else 1012 else
1017 m_shape.setPlaces(theme().shapePlace()); 1013 m_shape.setPlaces(theme().shapePlace());
1018 1014