Go to the source code of this file.
Data Structures | |
| struct | _MetaWindowSessionInfo |
Typedefs | |
| typedef struct _MetaWindowSessionInfo | MetaWindowSessionInfo |
Functions | |
| const MetaWindowSessionInfo * | meta_window_lookup_saved_state (MetaWindow *window) |
| void | meta_window_release_saved_state (const MetaWindowSessionInfo *info) |
| void | meta_session_init (const char *client_id, const char *save_file) |
| void | meta_session_shutdown (void) |
Maps windows to information about their placing and state on startup. This is window matching, which we have a policy of leaving in general to programs such as Devil's Pie, but the session manager specification requires us to do it here.
Definition in file session.h.
| typedef struct _MetaWindowSessionInfo MetaWindowSessionInfo |
| void meta_session_init | ( | const char * | client_id, | |
| const char * | save_file | |||
| ) |
Definition at line 225 of file session.c.
References client_id, current_state, die_callback(), ice_init(), load_state(), meta_bug(), META_DEBUG_SM, NULL, save_complete_callback(), save_yourself_callback(), session_connection, shutdown_cancelled_callback(), STATE_IDLE, and STATE_REGISTERING.
Referenced by main().
| void meta_session_shutdown | ( | void | ) |
Definition at line 370 of file session.c.
References NULL, and session_connection.
Referenced by main().
| const MetaWindowSessionInfo* meta_window_lookup_saved_state | ( | MetaWindow * | window | ) |
Definition at line 1623 of file session.c.
References _MetaWindow::desc, find_best_match(), get_possible_matches(), META_DEBUG_SM, NULL, and _MetaWindow::sm_client_id.
Referenced by meta_window_new_with_attrs().
| void meta_window_release_saved_state | ( | const MetaWindowSessionInfo * | info | ) |
Definition at line 1658 of file session.c.
References session_info_free(), and window_info_list.
Referenced by meta_window_new_with_attrs().
1.5.5