aboutsummaryrefslogtreecommitdiffstats
path: root/src/xwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xwidget.c')
-rw-r--r--src/xwidget.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index be3e4ca5732..8745416f3db 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -393,7 +393,7 @@ webkit_mime_type_policy_typedecision_requested_cb
393{ 393{
394 /* This function makes webkit send a download signal for all unknown 394 /* This function makes webkit send a download signal for all unknown
395 mime types. TODO: Defer the decision to Lisp, so that it's 395 mime types. TODO: Defer the decision to Lisp, so that it's
396 possible to make Emacs handle teext mime for instance.xs. */ 396 possible to make Emacs handle mime text for instance. */
397 if (!webkit_web_view_can_show_mime_type (webView, mimetype)) 397 if (!webkit_web_view_can_show_mime_type (webView, mimetype))
398 { 398 {
399 webkit_web_policy_decision_download (policy_decision); 399 webkit_web_policy_decision_download (policy_decision);
@@ -530,7 +530,7 @@ xwidget_init_view (struct xwidget *xww,
530 container later. Drawing should crop container window if necessary 530 container later. Drawing should crop container window if necessary
531 to handle case where xwidget is partially obscured by other Emacs 531 to handle case where xwidget is partially obscured by other Emacs
532 windows. Other containers than gtk_fixed where explored, but 532 windows. Other containers than gtk_fixed where explored, but
533 gtk_fixed had the most predictable behaviour so far. */ 533 gtk_fixed had the most predictable behavior so far. */
534 534
535 xv->emacswindow = FRAME_GTK_WIDGET (s->f); 535 xv->emacswindow = FRAME_GTK_WIDGET (s->f);
536 xv->widgetwindow = gtk_fixed_new (); 536 xv->widgetwindow = gtk_fixed_new ();
@@ -594,7 +594,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
594 WINDOW_BOTTOM_EDGE_Y (s->w) - WINDOW_MODE_LINE_HEIGHT (s->w) - y); 594 WINDOW_BOTTOM_EDGE_Y (s->w) - WINDOW_MODE_LINE_HEIGHT (s->w) - y);
595 clip_top = max (0, WINDOW_TOP_EDGE_Y (s->w) - y); 595 clip_top = max (0, WINDOW_TOP_EDGE_Y (s->w) - y);
596 596
597 /* We are conserned with movement of the onscreen area. The area 597 /* We are concerned with movement of the onscreen area. The area
598 might sit still when the widget actually moves. This happens 598 might sit still when the widget actually moves. This happens
599 when an Emacs window border moves across a widget window. So, if 599 when an Emacs window border moves across a widget window. So, if
600 any corner of the outer widget clipping window moves, that counts 600 any corner of the outer widget clipping window moves, that counts
@@ -615,7 +615,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
615 /* Clip the widget window if some parts happen to be outside 615 /* Clip the widget window if some parts happen to be outside
616 drawable area. An Emacs window is not a gtk window. A gtk window 616 drawable area. An Emacs window is not a gtk window. A gtk window
617 covers the entire frame. Clipping might have changed even if we 617 covers the entire frame. Clipping might have changed even if we
618 havent actualy moved, we try figure out when we need to reclip 618 haven't actually moved; try to figure out when we need to reclip
619 for real. */ 619 for real. */
620 if (xv->clip_right != clip_right 620 if (xv->clip_right != clip_right
621 || xv->clip_bottom != clip_bottom 621 || xv->clip_bottom != clip_bottom
@@ -753,7 +753,7 @@ DEFUN ("xwidget-resize", Fxwidget_resize, Sxwidget_resize, 3, 3, 0,
753DEFUN ("xwidget-set-adjustment", 753DEFUN ("xwidget-set-adjustment",
754 Fxwidget_set_adjustment, Sxwidget_set_adjustment, 4, 4, 0, 754 Fxwidget_set_adjustment, Sxwidget_set_adjustment, 4, 4, 0,
755 doc: /* Set native scrolling for XWIDGET. 755 doc: /* Set native scrolling for XWIDGET.
756AXIS can be 'vertical or 'horizontal. 756AXIS can be `vertical' or `horizontal'.
757If RELATIVE is t, scroll relative, otherwise absolutely. 757If RELATIVE is t, scroll relative, otherwise absolutely.
758VALUE is the amount to scroll, either relatively or absolutely. */) 758VALUE is the amount to scroll, either relatively or absolutely. */)
759 (Lisp_Object xwidget, Lisp_Object axis, Lisp_Object relative, 759 (Lisp_Object xwidget, Lisp_Object axis, Lisp_Object relative,
@@ -1132,7 +1132,7 @@ xwidget_end_redisplay (struct window *w, struct glyph_matrix *matrix)
1132 not in the desired matrix. 1132 not in the desired matrix.
1133 1133
1134 This only takes care of xwidgets in active windows. If a window 1134 This only takes care of xwidgets in active windows. If a window
1135 goes away from screen xwidget views wust be deleted. 1135 goes away from the screen, xwidget views must be deleted.
1136 1136
1137 dump_glyph_matrix (matrix, 2); */ 1137 dump_glyph_matrix (matrix, 2); */
1138 for (i = 0; i < matrix->nrows; ++i) 1138 for (i = 0; i < matrix->nrows; ++i)