mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
libinput: support <dragLock>sticky<dragLock> and enable it by default
It is recommended by libinput: https://lists.freedesktop.org/archives/wayland-devel/2024-November/043860.html
This commit is contained in:
parent
cc84cee75b
commit
22d319cce8
5 changed files with 26 additions and 6 deletions
|
|
@ -110,6 +110,10 @@ conf_data.set10('HAVE_RSVG', have_rsvg)
|
|||
|
||||
conf_data.set10('HAVE_LIBSFDO', have_libsfdo)
|
||||
|
||||
foreach sym : ['LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY']
|
||||
conf_data.set10('HAVE_' + sym, cc.has_header_symbol('libinput.h', sym, dependencies: input))
|
||||
endforeach
|
||||
|
||||
if get_option('static_analyzer').enabled()
|
||||
add_project_arguments(['-fanalyzer'], language: 'c')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue