xorg触摸屏:如何不让鼠标停留在最近的点击上



我有一个嵌入式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

您需要一个适合触摸屏的GTK+主题,当鼠标悬停在按钮上时,它不会预亮按钮。我不知道是否存在这样的主题。

最新更新