diff options
author | MC <mc@hack.org> | 2010-06-20 17:21:38 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-20 17:21:38 +0200 |
commit | a8c3f8943829dc7c8c4a6455ba8f0c4c2e522607 (patch) | |
tree | 7f975c4d47d2d82824f1bd445ffa43fc824ee588 /mcwm.c | |
parent | 56fe73388e1575a0647c57dab6701a43d4393688 (diff) | |
download | mcwm-a8c3f8943829dc7c8c4a6455ba8f0c4c2e522607.zip |
Oops. Wrong types.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -996,24 +996,22 @@ void events(void) switch (ev->response_type & ~0x80) { - - /* If we're the only wm, we get these when a new window is created. */ case XCB_MAP_REQUEST: { - xcb_create_notify_event_t *e; + xcb_map_request_event_t *e; PDEBUG("event: Map request.\n"); - e = ( xcb_create_notify_event_t *) ev; + e = (xcb_map_request_event_t *) ev; newwin(e->window); } break; case XCB_DESTROY_NOTIFY: { - xcb_create_notify_event_t *e; + xcb_destroy_notify_event_t *e; PDEBUG("event: Destroy notify.\n"); - e = ( xcb_create_notify_event_t *) ev; + e = (xcb_destroy_notify_event_t *) ev; /* FIXME: Find the window in list of clients. */ } |