refactor handlers.{c,h}: declare the handlers static, remove unnecessary parameters

This commit is contained in:
Michael Stapelberg
2011-03-20 16:53:12 +01:00
parent 5e42863c7d
commit e913e519f2
4 changed files with 171 additions and 335 deletions

View File

@ -243,7 +243,7 @@ done:
* Then, route_click is called on the appropriate con.
*
*/
int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_event_t *event) {
int handle_button_press(xcb_button_press_event_t *event) {
Con *con;
DLOG("Button %d pressed on window 0x%08x\n", event->state, event->event);