Darwin: 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 (cherry picked from commit c7573379a85a1480cc51650075078e41dafe56af)
This commit is contained in:
parent
512dee9087
commit
8358334180
|
@ -231,7 +231,8 @@ xprDisplayInit(void)
|
||||||
else
|
else
|
||||||
darwinScreensFound = 1;
|
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.");
|
FatalError("Could not initialize the Xplugin library.");
|
||||||
|
|
||||||
xp_select_events(XP_EVENT_DISPLAY_CHANGED
|
xp_select_events(XP_EVENT_DISPLAY_CHANGED
|
||||||
|
|
Loading…
Reference in New Issue