首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >xorg touchscreen:如何不让鼠标停留在最近的点击上

xorg touchscreen:如何不让鼠标停留在最近的点击上
EN

Stack Overflow用户
提问于 2012-01-23 20:39:31
回答 1查看 974关注 0票数 2

我有一个带有嵌入式linux、xorg和gtk3的触摸屏。我的问题是,在点击之后,鼠标指针停留在被点击的按钮上,这使得它的颜色与其他按钮不同。我需要的是鼠标指针在点击后会消失。似乎为了得到这个结果,我需要直接在xorg中工作(而不是在gtk中)。我粘贴我的xorg.conf:

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

发布于 2013-02-14 23:40:42

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

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8971758

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档