Mercurial > hg > xemacs-beta
diff src/device-x.c @ 193:f53b5ca2e663 r20-3b23
Import from CVS: tag r20-3b23
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:58:30 +0200 |
parents | b405438285a2 |
children | acd284d43ca1 |
line wrap: on
line diff
--- a/src/device-x.c Mon Aug 13 09:57:40 2007 +0200 +++ b/src/device-x.c Mon Aug 13 09:58:30 2007 +0200 @@ -1133,12 +1133,12 @@ switch (DefaultVisualOfScreen (DefaultScreenOfDisplay (get_x_display (device)))->class) { - case StaticGray: return (intern ("static-gray")); - case GrayScale: return (intern ("gray-scale")); - case StaticColor: return (intern ("static-color")); - case PseudoColor: return (intern ("pseudo-color")); - case TrueColor: return (intern ("true-color")); - case DirectColor: return (intern ("direct-color")); + case StaticGray: return intern ("static-gray"); + case GrayScale: return intern ("gray-scale"); + case StaticColor: return intern ("static-color"); + case PseudoColor: return intern ("pseudo-color"); + case TrueColor: return intern ("true-color"); + case DirectColor: return intern ("direct-color"); default: error ("display has an unknown visual class"); } @@ -1328,8 +1328,10 @@ and doesn't free it until it exits? */ result = XGrabPointer (DEVICE_X_DISPLAY (d), w, False, - ButtonMotionMask | ButtonPressMask - | ButtonReleaseMask | PointerMotionHintMask, + ButtonMotionMask | + ButtonPressMask | + ButtonReleaseMask | + PointerMotionHintMask, GrabModeAsync, /* Keep pointer events flowing */ pointer_mode, /* Stall keyboard events */ w, /* Stay in this window */