mirror of
https://github.com/labwc/labwc.git
synced 2026-04-09 08:21:18 -04:00
expose process_cursor_motion publicly
This commit is contained in:
parent
fd7f06a375
commit
f583fac28f
2 changed files with 9 additions and 1 deletions
|
|
@ -440,6 +440,14 @@ void cursor_rebase(struct seat *seat, uint32_t time_msec);
|
|||
*/
|
||||
void cursor_set(struct seat *seat, const char *cursor_name);
|
||||
void cursor_init(struct seat *seat);
|
||||
/**
|
||||
* process_cursor_motion - update cursor icon for and send enter events for
|
||||
* surface below the cursor. This function should be called any time the surface
|
||||
* under the cursor may have changed.
|
||||
* @seat - current seat
|
||||
* @time - time now
|
||||
*/
|
||||
void process_cursor_motion(struct server *server, uint32_t time);
|
||||
|
||||
void keyboard_init(struct seat *seat);
|
||||
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ input_inhibit_blocks_surface(struct seat *seat, struct wl_resource *resource)
|
|||
inhibiting_client != wl_resource_get_client(resource);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
process_cursor_motion(struct server *server, uint32_t time)
|
||||
{
|
||||
static bool cursor_name_set_by_server;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue