Fixed the call to xp_init so that we now receive Motion notifications even

if X is not the active application.
fixes <rdar://problem/5167664> xeyes dead until window activation
This commit is contained in:
Ben Byer 2007-11-11 04:30:00 -08:00
parent 365eeda0bf
commit bf15469d6e

View File

@ -233,7 +233,7 @@ xprDisplayInit(void)
else
darwinScreensFound = 1;
if (xp_init(XP_IN_BACKGROUND | XP_NO_DEFERRED_UPDATES) != Success)
if (xp_init(XP_BACKGROUND_EVENTS | XP_NO_DEFERRED_UPDATES) != Success)
{
FatalError("Could not initialize the Xplugin library.");
}