2001-06-09 17:58:30 -04:00
|
|
|
/* Metacity Session Management */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2001 Havoc Pennington
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
* 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef META_SESSION_H
|
|
|
|
#define META_SESSION_H
|
|
|
|
|
|
|
|
#include "window.h"
|
|
|
|
|
2001-07-26 01:10:01 -04:00
|
|
|
typedef struct _MetaWindowSessionInfo MetaWindowSessionInfo;
|
2001-06-09 17:58:30 -04:00
|
|
|
|
2001-07-26 01:10:01 -04:00
|
|
|
struct _MetaWindowSessionInfo
|
2001-06-09 17:58:30 -04:00
|
|
|
{
|
|
|
|
int workspace;
|
2001-07-26 01:10:01 -04:00
|
|
|
|
2001-06-09 17:58:30 -04:00
|
|
|
};
|
|
|
|
|
2001-07-26 01:10:01 -04:00
|
|
|
void meta_window_lookup_saved_state (MetaWindow *window,
|
|
|
|
MetaWindowSessionInfo *info);
|
|
|
|
|
|
|
|
void meta_session_init (const char *previous_id);
|
2001-06-09 17:58:30 -04:00
|
|
|
|
2001-06-23 01:49:35 -04:00
|
|
|
|
2001-06-09 17:58:30 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|