mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
backend/libinput: use internal_config
Removes project arguments.
This commit is contained in:
parent
cb6b1193c8
commit
a4a40618ad
2 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,5 @@ features += { 'libinput-backend': true }
|
|||
wlr_deps += libinput
|
||||
|
||||
# libinput hold gestures and high resolution scroll are available since 1.19.0
|
||||
add_project_arguments([
|
||||
'-DLIBINPUT_HAS_HOLD_GESTURES=@0@'.format(libinput.version().version_compare('>=1.19.0').to_int()),
|
||||
'-DLIBINPUT_HAS_SCROLL_VALUE120=@0@'.format(libinput.version().version_compare('>=1.19.0').to_int()),
|
||||
], language: 'c')
|
||||
internal_config.set10('LIBINPUT_HAS_HOLD_GESTURES', libinput.version().version_compare('>=1.19.0'))
|
||||
internal_config.set10('LIBINPUT_HAS_SCROLL_VALUE120', libinput.version().version_compare('>=1.19.0'))
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include <wlr/types/wlr_tablet_tool.h>
|
||||
#include <wlr/types/wlr_touch.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
struct wlr_libinput_backend {
|
||||
struct wlr_backend backend;
|
||||
|
||||
|
|
Loading…
Reference in a new issue