Second Cursor is not triggering a screen refresh

冷暖自知 提交于 2019-12-24 21:17:57

问题


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)

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.

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


回答1:


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.



来源:https://stackoverflow.com/questions/13733239/second-cursor-is-not-triggering-a-screen-refresh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!