mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Jeremy Huddleston
parent
512dee9087
commit
8358334180
@@ -231,7 +231,8 @@ 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.");
|
||||
|
||||
xp_select_events(XP_EVENT_DISPLAY_CHANGED
|
||||
|
||||
Reference in New Issue
Block a user