projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some Adobe-Japan1-5 code points.
[chise/xemacs-chise.git-]
/
src
/
gutter.c
diff --git
a/src/gutter.c
b/src/gutter.c
index
c250589
..
fe6301a
100644
(file)
--- a/
src/gutter.c
+++ b/
src/gutter.c
@@
-70,7
+70,7
@@
update_gutter_geometry (struct frame *f, enum gutter_pos pos);
(frame)->right_gutter_was_visible = flag; \
break; \
default: \
(frame)->right_gutter_was_visible = flag; \
break; \
default: \
- abort (); \
+ ABORT (); \
} \
} while (0)
} \
} while (0)
@@
-87,7
+87,7
@@
static int gutter_was_visible (struct frame* frame, enum gutter_pos pos)
case RIGHT_GUTTER:
return frame->right_gutter_was_visible;
default:
case RIGHT_GUTTER:
return frame->right_gutter_was_visible;
default:
- abort ();
+ ABORT ();
return 0; /* To keep the compiler happy */
}
}
return 0; /* To keep the compiler happy */
}
}
@@
-214,7
+214,7
@@
get_gutter_coords (struct frame *f, enum gutter_pos pos, int *x, int *y,
break;
default:
break;
default:
- abort ();
+ ABORT ();
}
}
}
}
@@
-585,6
+585,7
@@
update_gutter_geometry (struct frame *f, enum gutter_pos pos)
pixel_to_char_size (f, FRAME_PIXWIDTH (f), FRAME_PIXHEIGHT (f),
&width, &height);
change_frame_size (f, height, width, 0);
pixel_to_char_size (f, FRAME_PIXWIDTH (f), FRAME_PIXHEIGHT (f),
&width, &height);
change_frame_size (f, height, width, 0);
+ MARK_FRAME_LAYOUT_CHANGED (f);
}
/* Mark sizes as up-to-date. */
}
/* Mark sizes as up-to-date. */
@@
-594,7
+595,9
@@
update_gutter_geometry (struct frame *f, enum gutter_pos pos)
void
update_frame_gutter_geometry (struct frame *f)
{
void
update_frame_gutter_geometry (struct frame *f)
{
- if (f->gutter_changed || f->windows_structure_changed)
+ if (f->gutter_changed
+ || f->frame_layout_changed
+ || f->windows_structure_changed)
{
enum gutter_pos pos;
{
enum gutter_pos pos;
@@
-616,7
+619,7
@@
update_frame_gutters (struct frame *f)
f->gutter_changed || f->glyphs_changed ||
f->size_changed || f->subwindows_changed ||
f->windows_changed || f->windows_structure_changed ||
f->gutter_changed || f->glyphs_changed ||
f->size_changed || f->subwindows_changed ||
f->windows_changed || f->windows_structure_changed ||
- f->extents_changed)
+ f->extents_changed || f->frame_layout_changed)
{
enum gutter_pos pos;
{
enum gutter_pos pos;
@@
-1393,6
+1396,9
@@
See `default-gutter-height' for more information.
#ifdef HAVE_TTY
fb = Fcons (Fcons (list1 (Qtty), Qautodetect), fb);
#endif
#ifdef HAVE_TTY
fb = Fcons (Fcons (list1 (Qtty), Qautodetect), fb);
#endif
+#ifdef HAVE_GTK
+ fb = Fcons (Fcons (list1 (Qgtk), Qautodetect), fb);
+#endif
#ifdef HAVE_X_WINDOWS
fb = Fcons (Fcons (list1 (Qx), Qautodetect), fb);
#endif
#ifdef HAVE_X_WINDOWS
fb = Fcons (Fcons (list1 (Qx), Qautodetect), fb);
#endif
@@
-1410,6
+1416,9
@@
See `default-gutter-height' for more information.
#ifdef HAVE_X_WINDOWS
fb = Fcons (Fcons (list1 (Qx), Qautodetect), fb);
#endif
#ifdef HAVE_X_WINDOWS
fb = Fcons (Fcons (list1 (Qx), Qautodetect), fb);
#endif
+#ifdef HAVE_GTK
+ fb = Fcons (Fcons (list1 (Qgtk), Qautodetect), fb);
+#endif
#ifdef HAVE_MS_WINDOWS
fb = Fcons (Fcons (list1 (Qmsprinter), Qautodetect), fb);
fb = Fcons (Fcons (list1 (Qmswindows), Qautodetect), fb);
#ifdef HAVE_MS_WINDOWS
fb = Fcons (Fcons (list1 (Qmsprinter), Qautodetect), fb);
fb = Fcons (Fcons (list1 (Qmswindows), Qautodetect), fb);