|
CTWM
|
#include <stdio.h>#include <X11/SM/SMlib.h>Go to the source code of this file.
Data Structures | |
| struct | TWMWinConfigEntry |
Typedefs | |
| typedef struct TWMWinConfigEntry | TWMWinConfigEntry |
Functions | |
| void | ReadWinConfigFile (char *filename) |
| 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) |
| void | ConnectToSessionManager (char *previous_id) |
| void | shutdown_session (void) |
| void ConnectToSessionManager | ( | char * | previous_id | ) |
Definition at line 1118 of file session.c.
References appContext, DieCB(), iceInputId, ProcessIceMsgProc(), ProgramName, SaveCompleteCB(), SaveYourselfCB(), ShutdownCancelledCB(), smcConn, and twm_clientId.
Referenced by ctwm_main().
| 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 at line 704 of file session.c.
References TwmWindow::class, dpy, GetClientID(), GetWindowRole(), TwmWindow::name, ptr, TwmWindow::w, winConfigHead, x, and y.
Referenced by AddWindow().
| void ReadWinConfigFile | ( | char * | filename | ) |
Definition at line 666 of file session.c.
References TWMWinConfigEntry::next, read_ushort(), ReadWinConfigEntry(), SAVEFILE_VERSION, and winConfigHead.
Referenced by ctwm_main().
| void shutdown_session | ( | void | ) |