mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
config: s/enum device_type/enum lab_libinput_device_type/
This commit is contained in:
parent
673c745cff
commit
af5d80a583
3 changed files with 6 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ libinput_category_init(struct libinput_category *l)
|
|||
l->dwt = -1;
|
||||
}
|
||||
|
||||
enum device_type
|
||||
enum lab_libinput_device_type
|
||||
get_device_type(const char *s)
|
||||
{
|
||||
if (!s || !*s) {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ input_device_destroy(struct wl_listener *listener, void *data)
|
|||
free(input);
|
||||
}
|
||||
|
||||
static enum device_type
|
||||
static enum lab_libinput_device_type
|
||||
device_type_from_wlr_device(struct wlr_input_device *wlr_input_device)
|
||||
{
|
||||
switch (wlr_input_device->type) {
|
||||
|
|
@ -76,7 +76,7 @@ get_category(struct wlr_input_device *device)
|
|||
}
|
||||
|
||||
/* By type */
|
||||
enum device_type type = device_type_from_wlr_device(device);
|
||||
enum lab_libinput_device_type type = device_type_from_wlr_device(device);
|
||||
wl_list_for_each_reverse(category, &rc.libinput_categories, link) {
|
||||
if (category->type == type) {
|
||||
return category;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue