CTWM
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
/usr/src/RPM/BUILD/ctwm-4.1.0/session.h File Reference
#include <stdio.h>
#include <X11/SM/SMlib.h>
Include dependency graph for session.h:
This graph shows which files directly or indirectly include this file:

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)
 

Typedef Documentation

◆ TWMWinConfigEntry

typedef struct TWMWinConfigEntry TWMWinConfigEntry

Definition at line 43 of file session.h.

Function Documentation

◆ ConnectToSessionManager()

void ConnectToSessionManager ( char * previous_id)

◆ GetWindowConfig()

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 dpy, GetClientID(), GetWindowRole(), PlaceX, ptr, winConfigHead, x, and y.

Referenced by AddWindow().

◆ ReadWinConfigFile()

void ReadWinConfigFile ( char * filename)

Definition at line 666 of file session.c.

References PlaceX, read_ushort(), ReadWinConfigEntry(), SAVEFILE_VERSION, and winConfigHead.

Referenced by ctwm_main().

◆ shutdown_session()

void shutdown_session ( void )

Definition at line 1174 of file session.c.

References PlaceX, and smcConn.

Referenced by DoRestart().