mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtlogin: center the mouse pointer on the login screen on multi-head setups
This commit is contained in:
parent
39031e9dea
commit
2ea10ef612
1 changed files with 1 additions and 0 deletions
|
@ -1236,6 +1236,7 @@ MakeDialog( DialogType dtype )
|
||||||
xorg = yorg = 0;
|
xorg = yorg = 0;
|
||||||
}
|
}
|
||||||
/* else, should be setup properly */
|
/* else, should be setup properly */
|
||||||
|
XWarpPointer(dpyinfo.dpy,None,dpyinfo.root,0,0,0,0,dpwidth/2,dpheight/2);
|
||||||
#else /* no Xinerama */
|
#else /* no Xinerama */
|
||||||
dpwidth = dpyinfo.width;
|
dpwidth = dpyinfo.width;
|
||||||
dpheight = dpyinfo.height;
|
dpheight = dpyinfo.height;
|
||||||
|
|
Loading…
Reference in a new issue