diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-10-01 08:38:56 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-10-01 08:38:56 (GMT) |
commit | 269459e1aa0a8c0ab9be67cf11bb836ecc191f31 (patch) | |
tree | 09fa57effb9f6c0b6f6456a11a6ce2b45d1c66f0 /src/FbTk/XLayer.hh | |
parent | b3da022ee22acd67f6ef6210e7412dbfc8fdfa70 (diff) | |
download | fluxbox-269459e1aa0a8c0ab9be67cf11bb836ecc191f31.zip fluxbox-269459e1aa0a8c0ab9be67cf11bb836ecc191f31.tar.bz2 |
don't flash original window in the middle of cycling focus
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 |