mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Move input handler init() and finish() functions to input/input.c
This commit is contained in:
parent
b359b1560c
commit
797e743c8a
4 changed files with 32 additions and 4 deletions
18
src/input/input.c
Normal file
18
src/input/input.c
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
#include "input/cursor.h"
|
||||
#include "input/input.h"
|
||||
#include "input/keyboard.h"
|
||||
|
||||
void
|
||||
input_handlers_init(struct seat *seat)
|
||||
{
|
||||
cursor_init(seat);
|
||||
keyboard_init(seat);
|
||||
}
|
||||
|
||||
void
|
||||
input_handlers_finish(struct seat *seat)
|
||||
{
|
||||
cursor_finish(seat);
|
||||
keyboard_finish(seat);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue