diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xwidget.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index 1815a39ab6f..769d491f278 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -1402,22 +1402,6 @@ x_draw_xwidget_glyph_string (struct glyph_string *s) | |||
| 1402 | window_box (s->w, TEXT_AREA, &text_area_x, &text_area_y, | 1402 | window_box (s->w, TEXT_AREA, &text_area_x, &text_area_y, |
| 1403 | &text_area_width, &text_area_height); | 1403 | &text_area_width, &text_area_height); |
| 1404 | 1404 | ||
| 1405 | /* On X11, this keeps generating expose events. */ | ||
| 1406 | #ifndef USE_GTK | ||
| 1407 | /* Resize xwidget webkit if its container window size is changed in | ||
| 1408 | some ways, for example, a buffer became hidden in small split | ||
| 1409 | window, then it can appear front in merged whole window. */ | ||
| 1410 | if (EQ (xww->type, Qwebkit) | ||
| 1411 | && (xww->width != text_area_width || xww->height != text_area_height)) | ||
| 1412 | { | ||
| 1413 | Lisp_Object xwl; | ||
| 1414 | XSETXWIDGET (xwl, xww); | ||
| 1415 | Fxwidget_resize (xwl, | ||
| 1416 | make_int (text_area_width), | ||
| 1417 | make_int (text_area_height)); | ||
| 1418 | } | ||
| 1419 | #endif | ||
| 1420 | |||
| 1421 | clip_left = max (0, text_area_x - x); | 1405 | clip_left = max (0, text_area_x - x); |
| 1422 | clip_right = max (clip_left, | 1406 | clip_right = max (clip_left, |
| 1423 | min (xww->width, text_area_x + text_area_width - x)); | 1407 | min (xww->width, text_area_x + text_area_width - x)); |