第二个光标不触发屏幕刷新 [英] Second Cursor is not triggering a screen refresh

查看:45
本文介绍了第二个光标不触发屏幕刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前发布了关于在两个 xsession 中控制两个独立游标的帖子.(http://stackoverflow.com/questions/13714831/controlling-multiple-pointers-with-xlib-or-xinput-in-ubuntu-linux)

I previously posted about controlling two separate cursors in two xsessions. (http://stackoverflow.com/questions/13714831/controlling-multiple-pointers-with-xlib-or-xinput-in-ubuntu-linux)

该解决方案运行良好.但是,当我控制光标时发生了奇怪的事情.光标不是正常移动并刷新屏幕以进行调整,而是光标位于白色框的顶部,当我移动它时,光标会留下痕迹并且没有任何刷新.只有当我在第二个屏幕中移动新创建的光标时才会发生这种情况.我能猜到的最好的是,当我移动光标时,xsession 没有收到任何事件通知或其他东西,并且它永远不会刷新,尽管我不知道这是否是问题所在.对不起,我有点含糊,我只是在描述问题时遇到了麻烦.就像在过去,屏幕会冻结,您可以拖动窗口,它会留下痕迹.这正是光标所发生的事情.

That solution worked well. However, a odd thing occurs when I control the cursor. Instead of the cursor moving normally and the screen refreshing to adjust, the cursor is on top of a white box and when I move it the cursor leaves a trail and nothing refreshes. This only happens when I move the newly created cursor in the second screen. Best I can guess is that when I move the cursor the xsession isn't getting any event notice or something and it never refreshes though I have no idea if that's the issue. I'm sorry I'm a bit vague I'm just having trouble describing the issue. It's like in the old days when the screen would freeze and you would drag the window and it would leave a trail. That's exactly what's happening with the cursor.

这可能与它不在 xorg 中的事实有关吗?

Might it have something to do with the fact that it's not in the xorg?

推荐答案

事实证明,发生这种情况的原因是我使用了 gdm.Gdm 对多座位系统(多用户/单台计算机)的支持不是很好.最初,在上述失败后,我尝试配置 xorg.conf 以创建多个布局,每个布局都有自己的输入设备.这失败了,同样是因为 gdm.一旦我切换到 kdm,我就可以设置 xorg.conf 以便每个显示器都以它自己的键盘/鼠标设置开始.

It turns out that the reason that this was happening is that I was using gdm. Gdm doesn't have very good support for multiseating systems (multiple users/single computer). Initially, after the above failed, I tried configuring the xorg.conf to create multiple layout each with it's own input devices. This failed, again because of gdm. Once I switch to kdm I was able to set the xorg.conf so that each monitor started with it's own keyboard/mouse set.

这篇关于第二个光标不触发屏幕刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆