我有一个带有嵌入式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发布于 2013-02-14 23:40:42
你需要一个适合于触摸屏的GTK+主题,当鼠标停留在按钮上时,不会预亮按钮。我不知道这样的主题是否存在。
https://stackoverflow.com/questions/8971758
复制相似问题