1
0
Fork 0
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:
alx 2016-12-30 01:31:09 +01:00 committed by Jon Trulson
parent 39031e9dea
commit 2ea10ef612

View file

@ -1236,6 +1236,7 @@ MakeDialog( DialogType dtype )
xorg = yorg = 0;
}
/* else, should be setup properly */
XWarpPointer(dpyinfo.dpy,None,dpyinfo.root,0,0,0,0,dpwidth/2,dpheight/2);
#else /* no Xinerama */
dpwidth = dpyinfo.width;
dpheight = dpyinfo.height;