Cleanups, documentation

This commit is contained in:
Michael Stapelberg
2009-02-24 01:24:28 +01:00
parent 0e3a378c39
commit 36aec13860
4 changed files with 122 additions and 85 deletions

View File

@ -292,6 +292,10 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_
return 1;
}
/*
* A new window appeared on the screen (=was mapped), so lets manage it.
*
*/
int handle_map_notify_event(void *prophs, xcb_connection_t *conn, xcb_map_notify_event_t *event) {
window_attributes_t wa = { TAG_VALUE };
wa.u.override_redirect = event->override_redirect;