mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
If keyboard-layout-per-toplevel-window is used, reset the group (index) for each window on --reconfigure whenever the keymap has changed. Refactor to use a common configure function for reconfigure and keyboard-group creation. Co-authored-by: @johanmalm Fixes #1407
18 lines
320 B
C
18 lines
320 B
C
// 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_group_init(seat);
|
|
}
|
|
|
|
void
|
|
input_handlers_finish(struct seat *seat)
|
|
{
|
|
cursor_finish(seat);
|
|
keyboard_group_finish(seat);
|
|
}
|