diff options
Diffstat (limited to 'src/FbTk/XLayer.hh')
-rw-r--r-- | src/FbTk/XLayer.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/XLayer.hh b/src/FbTk/XLayer.hh index acc299c..bfd7010 100644 --- a/src/FbTk/XLayer.hh +++ b/src/FbTk/XLayer.hh | |||
@@ -44,7 +44,6 @@ public: | |||
44 | 44 | ||
45 | void setLayerNum(int layernum) { m_layernum = layernum; }; | 45 | void setLayerNum(int layernum) { m_layernum = layernum; }; |
46 | int getLayerNum() { return m_layernum; }; | 46 | int getLayerNum() { return m_layernum; }; |
47 | void restack(); | ||
48 | // Put all items on the same layer (called when layer item added to) | 47 | // Put all items on the same layer (called when layer item added to) |
49 | void alignItem(XLayerItem &item); | 48 | void alignItem(XLayerItem &item); |
50 | int countWindows(); | 49 | int countWindows(); |
@@ -73,9 +72,11 @@ public: | |||
73 | void moveToLayer(XLayerItem &item, int layernum); | 72 | void moveToLayer(XLayerItem &item, int layernum); |
74 | 73 | ||
75 | private: | 74 | private: |
75 | void restack(); | ||
76 | |||
76 | MultLayers &m_manager; | 77 | MultLayers &m_manager; |
77 | int m_layernum; | 78 | int m_layernum; |
78 | 79 | bool m_needs_restack; | |
79 | }; | 80 | }; |
80 | 81 | ||
81 | } // namespace FbTk | 82 | } // namespace FbTk |