aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-20 09:07:27 (GMT)
committerfluxgen <fluxgen>2004-02-20 09:07:27 (GMT)
commit3c78d753c0c1b293d20ad52e38586929bf47f13e (patch)
treefc146deff9fe5ebb0afb51f9882f17f54a45336c /src/Remember.hh
parent1e405808fb3cba1b19d6af9697312a6f4d8ec3ba (diff)
downloadfluxbox_pavel-3c78d753c0c1b293d20ad52e38586929bf47f13e.zip
fluxbox_pavel-3c78d753c0c1b293d20ad52e38586929bf47f13e.tar.bz2
fixed focus issues with remember hidden, patch from Mathias Gumz
Diffstat (limited to 'src/Remember.hh')
-rw-r--r--src/Remember.hh22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/Remember.hh b/src/Remember.hh
index 2e92e42..e1a4db5 100644
--- a/src/Remember.hh
+++ b/src/Remember.hh
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Remember.hh,v 1.15 2004/02/16 10:25:34 fluxgen Exp $ 24// $Id: Remember.hh,v 1.16 2004/02/20 09:05:38 fluxgen Exp $
25 25
26/* Based on the original "Remember patch" by Xavier Brouckaert */ 26/* Based on the original "Remember patch" by Xavier Brouckaert */
27 27
@@ -50,7 +50,8 @@ public:
50 inline void forgetShadedstate() { shadedstate_remember = false; } 50 inline void forgetShadedstate() { shadedstate_remember = false; }
51 inline void forgetTabstate() { tabstate_remember = false; } 51 inline void forgetTabstate() { tabstate_remember = false; }
52 inline void forgetDecostate() { decostate_remember = false; } 52 inline void forgetDecostate() { decostate_remember = false; }
53 inline void forgetHiddenstate() { hiddenstate_remember= false; } 53 inline void forgetFocusHiddenstate() { focushiddenstate_remember= false; }
54 inline void forgetIconHiddenstate() { iconhiddenstate_remember= false; }
54 inline void forgetStuckstate() { stuckstate_remember = false; } 55 inline void forgetStuckstate() { stuckstate_remember = false; }
55 inline void forgetJumpworkspace() { jumpworkspace_remember = false; } 56 inline void forgetJumpworkspace() { jumpworkspace_remember = false; }
56 inline void forgetLayer() { layer_remember = false; } 57 inline void forgetLayer() { layer_remember = false; }
@@ -60,9 +61,10 @@ public:
60 { workspace = ws; workspace_remember = true; } 61 { workspace = ws; workspace_remember = true; }
61 inline void rememberDimensions(int width, int height) 62 inline void rememberDimensions(int width, int height)
62 { w = width; h = height; dimensions_remember = true; } 63 { w = width; h = height; dimensions_remember = true; }
63 64 inline void rememberFocusHiddenstate(bool state)
64 inline void rememberHiddenstate(bool state) 65 { focushiddenstate= state; focushiddenstate_remember= true; }
65 { hiddenstate= state; hiddenstate_remember= true; } 66 inline void rememberIconHiddenstate(bool state)
67 { iconhiddenstate= state; iconhiddenstate_remember= true; }
66 inline void rememberPosition(int posx, int posy, unsigned char rfc= 0 ) 68 inline void rememberPosition(int posx, int posy, unsigned char rfc= 0 )
67 { x = posx; y = posy; refc = rfc; position_remember = true; } 69 { x = posx; y = posy; refc = rfc; position_remember = true; }
68 inline void rememberShadedstate(bool state) 70 inline void rememberShadedstate(bool state)
@@ -106,8 +108,11 @@ public:
106 bool stuckstate_remember; 108 bool stuckstate_remember;
107 bool stuckstate; 109 bool stuckstate;
108 110
109 bool hiddenstate_remember; 111 bool focushiddenstate_remember;
110 bool hiddenstate; 112 bool focushiddenstate;
113
114 bool iconhiddenstate_remember;
115 bool iconhiddenstate;
111 116
112 bool jumpworkspace_remember; 117 bool jumpworkspace_remember;
113 bool jumpworkspace; 118 bool jumpworkspace;
@@ -138,7 +143,8 @@ public:
138 enum Attribute { 143 enum Attribute {
139 REM_DECOSTATE= 0, 144 REM_DECOSTATE= 0,
140 REM_DIMENSIONS, 145 REM_DIMENSIONS,
141 REM_HIDDENSTATE, 146 REM_FOCUSHIDDENSTATE,
147 REM_ICONHIDDENSTATE,
142 REM_JUMPWORKSPACE, 148 REM_JUMPWORKSPACE,
143 REM_LAYER, 149 REM_LAYER,
144 REM_POSITION, 150 REM_POSITION,