From 2ea10ef612ced3f7c3b953aaf4c515f98a209410 Mon Sep 17 00:00:00 2001 From: alx Date: Fri, 30 Dec 2016 01:31:09 +0100 Subject: [PATCH] dtlogin: center the mouse pointer on the login screen on multi-head setups --- cde/programs/dtlogin/vgmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cde/programs/dtlogin/vgmain.c b/cde/programs/dtlogin/vgmain.c index 91d41a7f..f26bcadc 100644 --- a/cde/programs/dtlogin/vgmain.c +++ b/cde/programs/dtlogin/vgmain.c @@ -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; -- 2.25.1