make more useful on remote x

This commit is contained in:
Adam D. Ruppe 2020-07-01 23:38:38 -04:00
parent 9a2f0bcfe6
commit c8189e1027
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
// https://dpaste.dzfl.pl/7a77355acaec // https://dpaste.dzfl.pl/7a77355acaec
// on Mac with X11: -L-L/usr/X11/lib // on Mac with X11: -L-L/usr/X11/lib
/* /*
@ -10478,6 +10479,8 @@ version(X11) {
// xshm is our shortcut for local connections // xshm is our shortcut for local connections
if(Image.impl.xshmAvailable || forceIncludeMouseMotion) if(Image.impl.xshmAvailable || forceIncludeMouseMotion)
mask |= EventMask.PointerMotionMask; mask |= EventMask.PointerMotionMask;
else
mask |= EventMask.ButtonMotionMask;
XSelectInput(display, window, mask); XSelectInput(display, window, mask);
} }