Mercurial > emacs
changeset 11895:81f2806578ed
(create_frame_gcs, setup_frame_gcs): Reformat long statements.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 24 May 1995 03:58:29 +0000 |
parents | b20c45d49063 |
children | 507a45c7e911 |
files | src/widget.c |
diffstat | 1 files changed, 23 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/src/widget.c Wed May 24 03:49:46 1995 +0000 +++ b/src/widget.c Wed May 24 03:58:29 1995 +0000 @@ -527,15 +527,15 @@ { struct frame *s = ew->emacs_frame.frame; - s->display.x->normal_gc = - XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), - (unsigned long)0, (XGCValues *)0); - s->display.x->reverse_gc = - XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), - (unsigned long)0, (XGCValues *)0); - s->display.x->cursor_gc = - XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), - (unsigned long)0, (XGCValues *)0); + s->display.x->normal_gc + = XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), + (unsigned long)0, (XGCValues *)0); + s->display.x->reverse_gc + = XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), + (unsigned long)0, (XGCValues *)0); + s->display.x->cursor_gc + = XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), + (unsigned long)0, (XGCValues *)0); } static char setup_frame_cursor_bits[] = @@ -563,19 +563,20 @@ effectively cache all of the GC settings we need to use. */ - blank_stipple = - XCreateBitmapFromData (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), - setup_frame_cursor_bits, 2, 2); + blank_stipple + = XCreateBitmapFromData (XtDisplay (ew), + RootWindowOfScreen (XtScreen (ew)), + setup_frame_cursor_bits, 2, 2); /* use fg = 0, bg = 1 below, but it's irrelevant since this pixmap should never actually get used as a background tile! */ - blank_tile = - XCreatePixmapFromBitmapData (XtDisplay(ew), - RootWindowOfScreen (XtScreen (ew)), - setup_frame_cursor_bits, 2, 2, - (unsigned long)0, (unsigned long)1, - ew->core.depth); + blank_tile + = XCreatePixmapFromBitmapData (XtDisplay(ew), + RootWindowOfScreen (XtScreen (ew)), + setup_frame_cursor_bits, 2, 2, + (unsigned long)0, (unsigned long)1, + ew->core.depth); /* Normal video */ gc_values.font = ew->emacs_frame.font->fid; @@ -607,10 +608,10 @@ gc_values.background = ew->emacs_frame.cursor_color; gc_values.graphics_exposures = False; gc_values.tile = blank_tile; - gc_values.stipple = - XCreateBitmapFromData (XtDisplay (ew), - RootWindowOfScreen (XtScreen (ew)), - setup_frame_cursor_bits, 16, 16); + gc_values.stipple + = XCreateBitmapFromData (XtDisplay (ew), + RootWindowOfScreen (XtScreen (ew)), + setup_frame_cursor_bits, 16, 16); XChangeGC (XtDisplay (ew), s->display.x->cursor_gc, (GCFont | GCForeground | GCBackground | GCGraphicsExposures | GCStipple | GCTile),