我有一个嵌入式 linux、xorg 和 gtk3 的触摸屏。我的问题是,单击后鼠标指针停留在单击的按钮上,使他的颜色与其他按钮不同。我需要的是单击后鼠标指针会消失。似乎为了得到这个结果,我需要直接在 xorg(而不是 gtk)中工作。我粘贴我的 xorg.conf:
Section "ServerLayout"
Identifier "Single head configuration"
InputDevice "touchscreen" "CorePointer"
Screen 0 "Screen0" Absolute 0 0
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "evdev"
Option "XkbLayout" "it"
Option "Device" "/dev/input/event2"
EndSection
Section "InputDevice"
Identifier "touchscreen"
# Driver "evdev"
Driver "tslib"
Option "Calibration" "200 3850 300 3850"
Option "Debug"
Option "SwapAxes" "True"
Option "Device" "/dev/input/event1"
# Option "MinX" "0"
# Option "MaxX" "800"
# Option "MinY" "0"
# Option "MaxY" "480"
# Option "MinX" "200"
# Option "MaxX" "3850"
# Option "MinY" "300"
# Option "MaxY" "3850"
Option "MoveLimit" "10"
Option "DeviceName" "touchscreen"
# Option "ReportingMode" "Raw"
Option "Protocol" "Auto"
Option "longtouched_action" "down"
Option "longtouched_button" "1"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
EndSection