mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -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);
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
labwc_sources += files(
|
||||
'cursor.c',
|
||||
'gestures.c',
|
||||
'input.c',
|
||||
'keyboard.c',
|
||||
'key-state.c',
|
||||
'touch.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue