summaryrefslogtreecommitdiffstats
path: root/source/widgets/widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/widgets/widget.c')
-rw-r--r--source/widgets/widget.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/widgets/widget.c b/source/widgets/widget.c
index 19a4770e..7434c5f1 100644
--- a/source/widgets/widget.c
+++ b/source/widgets/widget.c
@@ -389,10 +389,10 @@ gboolean widget_need_redraw ( widget *wid )
}
return FALSE;
}
-gboolean widget_clicked ( widget *wid, xcb_button_press_event_t *xbe )
+gboolean widget_clicked ( widget *wid, widget_button_event *be )
{
if ( wid && wid->clicked ) {
- return wid->clicked ( wid, xbe, wid->clicked_cb_data );
+ return wid->clicked ( wid, be, wid->clicked_cb_data );
}
return FALSE;
}
@@ -404,10 +404,10 @@ void widget_set_clicked_handler ( widget *wid, widget_clicked_cb cb, void *udata
}
}
-gboolean widget_motion_notify ( widget *wid, xcb_motion_notify_event_t *xme )
+gboolean widget_motion_notify ( widget *wid, widget_motion_event *me )
{
if ( wid && wid->motion_notify ) {
- wid->motion_notify ( wid, xme );
+ wid->motion_notify ( wid, me );
}
return FALSE;