mirror of
https://github.com/labwc/labwc.git
synced 2026-02-10 04:27:47 -05:00
Rename some {cursor,keyboard}_ functions
This commit is contained in:
parent
aa294330ea
commit
bc5accb089
5 changed files with 19 additions and 18 deletions
10
src/cursor.c
10
src/cursor.c
|
|
@ -117,7 +117,7 @@ static void process_cursor_motion(struct server *server, uint32_t time)
|
|||
}
|
||||
}
|
||||
|
||||
void server_cursor_motion(struct wl_listener *listener, void *data)
|
||||
void cursor_motion(struct wl_listener *listener, void *data)
|
||||
{
|
||||
/*
|
||||
* This event is forwarded by the cursor when a pointer emits a
|
||||
|
|
@ -139,7 +139,7 @@ void server_cursor_motion(struct wl_listener *listener, void *data)
|
|||
process_cursor_motion(server, event->time_msec);
|
||||
}
|
||||
|
||||
void server_cursor_motion_absolute(struct wl_listener *listener, void *data)
|
||||
void cursor_motion_absolute(struct wl_listener *listener, void *data)
|
||||
{
|
||||
/*
|
||||
* This event is forwarded by the cursor when a pointer emits an
|
||||
|
|
@ -157,7 +157,7 @@ void server_cursor_motion_absolute(struct wl_listener *listener, void *data)
|
|||
process_cursor_motion(server, event->time_msec);
|
||||
}
|
||||
|
||||
void server_cursor_button(struct wl_listener *listener, void *data)
|
||||
void cursor_button(struct wl_listener *listener, void *data)
|
||||
{
|
||||
/*
|
||||
* This event is forwarded by the cursor when a pointer emits a button
|
||||
|
|
@ -197,7 +197,7 @@ void server_cursor_button(struct wl_listener *listener, void *data)
|
|||
}
|
||||
}
|
||||
|
||||
void server_cursor_axis(struct wl_listener *listener, void *data)
|
||||
void cursor_axis(struct wl_listener *listener, void *data)
|
||||
{
|
||||
/*
|
||||
* This event is forwarded by the cursor when a pointer emits an axis
|
||||
|
|
@ -212,7 +212,7 @@ void server_cursor_axis(struct wl_listener *listener, void *data)
|
|||
event->delta_discrete, event->source);
|
||||
}
|
||||
|
||||
void server_cursor_frame(struct wl_listener *listener, void *data)
|
||||
void cursor_frame(struct wl_listener *listener, void *data)
|
||||
{
|
||||
/*
|
||||
* This event is forwarded by the cursor when a pointer emits an frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue