Files
wmaker/src/session.h
T

63 lines
1.6 KiB
C
Raw Normal View History

1998-09-29 22:36:29 +00:00
/* session.h
*
2003-01-16 23:30:45 +00:00
* Copyright (c) 1999-2003 Alfredo K. Kojima
1998-09-29 22:36:29 +00:00
*
1998-10-21 14:43:47 +00:00
* Window Maker window manager
1998-09-29 22:36:29 +00:00
*
* 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
2004-10-12 21:28:27 +00:00
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
1998-09-29 22:36:29 +00:00
* USA.
*/
#ifndef WMSESSION_H_
#define WMSESSION_H_
1999-04-10 18:27:21 +00:00
typedef struct {
int x;
int y;
unsigned int w; /* client size */
unsigned int h;
int workspace;
unsigned shortcuts; /* mask like 1<<shortcut_number */
WWindowAttributes mflags;
WWindowAttributes flags;
char miniaturized;
char shaded;
char maximized;
char user_changed_width;
char user_changed_height;
} WSessionData;
1998-09-29 22:36:29 +00:00
void wSessionSaveState(WScreen *scr);
1999-01-25 19:06:50 +00:00
void wSessionSaveClients(WScreen *scr);
void wSessionSendSaveYourself(WScreen *scr);
1998-09-29 22:36:29 +00:00
void wSessionClearState(WScreen *scr);
void wSessionRestoreState(WScreen *scr);
void wSessionRestoreLastWorkspace(WScreen *scr);
Bool wSessionGetStateFor(WWindow *wwin, WSessionData *state);
1998-09-29 22:36:29 +00:00
#endif