CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/session.h
Go to the documentation of this file.
1/*
2 * Copyright 2004 Richard Levitte
3 */
4
5#ifndef _CTWM_SESSION_H
6#define _CTWM_SESSION_H
7
8#include <stdio.h> // For FILE
9
10#include <X11/SM/SMlib.h>
11
12// Guard
13#ifndef SESSION
14#error "You're unconditionally including session.h!"
15#endif
16
17
18/* Used in stashing session info */
21 int tag;
22 char *client_id;
25 char *wm_name;
27 char **wm_command;
28 short x, y;
29 unsigned short width, height;
30 short icon_x, icon_y;
35 /* ===================[ Matthew McNeill Feb 1997 ]======================= *
36 * Added this property to facilitate restoration of workspaces when
37 * restarting a session.
38 */
40 /* ====================================================================== */
41
42};
44
45
46void ReadWinConfigFile(char *filename);
48 short *x, short *y,
49 unsigned short *width, unsigned short *height,
50 bool *iconified,
52 short *icon_x, short *icon_y,
55 int *occupation /* <== [ Matthew McNeill Feb 1997 ] == */
56 );
58void shutdown_session(void);
59
60#endif /* _CTWM_SESSION_H */
static int PlaceX
Definition add_window.c:82
int y
Definition menus.c:70
int x
Definition menus.c:69
void ReadWinConfigFile(char *filename)
Definition session.c:666
int GetWindowConfig(TwmWindow *theWindow, short *x, short *y, unsigned short *width, unsigned short *height, bool *iconified, bool *icon_info_present, short *icon_x, short *icon_y, bool *width_ever_changed_by_user, bool *height_ever_changed_by_user, int *occupation)
Definition session.c:704
void shutdown_session(void)
Definition session.c:1174
void ConnectToSessionManager(char *previous_id)
Definition session.c:1118
unsigned short width
Definition session.h:29
char ** wm_command
Definition session.h:27
unsigned short height
Definition session.h:29
struct TWMWinConfigEntry * next
Definition session.h:20
bool width_ever_changed_by_user
Definition session.h:33
bool height_ever_changed_by_user
Definition session.h:34
bool icon_info_present
Definition session.h:32
char * window_role
Definition session.h:23
char * client_id
Definition session.h:22
Info and control for every X Window we take over.