aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.hh')
-rw-r--r--src/Remember.hh13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Remember.hh b/src/Remember.hh
index 0e8ffe7..756bc7f 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.8 2003/06/18 13:34:56 fluxgen Exp $ 24// $Id: Remember.hh,v 1.9 2003/07/04 01:03:40 rathnor 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
@@ -43,7 +43,7 @@ class ClientPattern;
43 43
44class Application { 44class Application {
45public: 45public:
46 Application(); 46 Application(bool grouped);
47 inline void forgetWorkspace() { workspace_remember = false; } 47 inline void forgetWorkspace() { workspace_remember = false; }
48 inline void forgetDimensions() { dimensions_remember = false; } 48 inline void forgetDimensions() { dimensions_remember = false; }
49 inline void forgetPosition() { position_remember = false; } 49 inline void forgetPosition() { position_remember = false; }
@@ -107,6 +107,9 @@ public:
107 bool save_on_close_remember; 107 bool save_on_close_remember;
108 bool save_on_close; 108 bool save_on_close;
109 109
110 bool is_grouped;
111 FluxboxWindow *group;
112
110}; 113};
111 114
112/** 115/**
@@ -161,7 +164,8 @@ public:
161 // Functions relating to AtomHandler 164 // Functions relating to AtomHandler
162 165
163 // Functions we actually use 166 // Functions we actually use
164 void setupWindow(FluxboxWindow &win); 167 void setupFrame(FluxboxWindow &win);
168 void setupClient(WinClient &winclient);
165 void updateWindowClose(FluxboxWindow &win); 169 void updateWindowClose(FluxboxWindow &win);
166 170
167 // Functions we ignore (zero from AtomHandler) 171 // Functions we ignore (zero from AtomHandler)
@@ -186,7 +190,8 @@ public:
186private: 190private:
187 191
188 // returns number of lines read 192 // returns number of lines read
189 int parseApp(std::ifstream &file, Application &app); 193 // optionally can give a line to read before the first (lookahead line)
194 int parseApp(std::ifstream &file, Application &app, std::string *first_line = 0);
190 Patterns m_pats; 195 Patterns m_pats;
191 Clients m_clients; 196 Clients m_clients;
192 197