mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-05 22:46:06 +00:00
Enable event delivery for multiple heads.
Requires moving the spriteTrace into the DeviceIntRec and adjusting a few functions to take in device argument, most notably XYToWindow(). Cursor rendering on the second screen is busted.
This commit is contained in:
parent
d61ed6c8a2
commit
82f97e1c0c
16 changed files with 143 additions and 100 deletions
|
|
@ -299,7 +299,9 @@ IsRaiseOnClick (WindowPtr pWin)
|
|||
|
||||
struct _Window *pwin;
|
||||
struct _Property *prop;
|
||||
WindowPtr pRoot = GetCurrentRootWindow ();
|
||||
/* XXX We're getting inputInfo.poniter here, but this might be really wrong.
|
||||
* Which pointer's current window do we want? */
|
||||
WindowPtr pRoot = GetCurrentRootWindow (inputInfo.pointer);
|
||||
|
||||
if (!pWin)
|
||||
{
|
||||
|
|
@ -352,7 +354,9 @@ IsMouseActive (WindowPtr pWin)
|
|||
|
||||
struct _Window *pwin;
|
||||
struct _Property *prop;
|
||||
WindowPtr pRoot = GetCurrentRootWindow ();
|
||||
/* XXX We're getting inputInfo.poniter here, but this might be really wrong.
|
||||
* Which pointer's current window do we want? */
|
||||
WindowPtr pRoot = GetCurrentRootWindow (inputInfo.pointer);
|
||||
|
||||
if (!pWin)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue