X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fredisplay-msw.c;h=9caf8f7dc584aba304ebc082db40ae60070cc14c;hp=dc0ea8b212720b888c753810897429b26e86d863;hb=762383636a99307282c2d93d26c35c046ec24da1;hpb=e31bfd1501359ce20fe1caf6b913a019318ec83c;ds=sidebyside diff --git a/src/redisplay-msw.c b/src/redisplay-msw.c index dc0ea8b..9caf8f7 100644 --- a/src/redisplay-msw.c +++ b/src/redisplay-msw.c @@ -985,6 +985,13 @@ mswindows_frame_output_end (struct frame *f) GdiFlush(); } +/* Printer version is more lightweight. */ +static void +msprinter_frame_output_end (struct frame *f) +{ + GdiFlush(); +} + static int mswindows_flash (struct device *d) { @@ -1377,6 +1384,7 @@ console_type_create_redisplay_mswindows (void) CONSOLE_HAS_METHOD (mswindows, output_pixmap); /* redisplay methods - printer */ + CONSOLE_HAS_METHOD (msprinter, frame_output_end); CONSOLE_INHERITS_METHOD (msprinter, mswindows, text_width); CONSOLE_INHERITS_METHOD (msprinter, mswindows, output_display_block); CONSOLE_INHERITS_METHOD (msprinter, mswindows, divider_height); @@ -1385,7 +1393,6 @@ console_type_create_redisplay_mswindows (void) CONSOLE_INHERITS_METHOD (msprinter, mswindows, clear_region); CONSOLE_INHERITS_METHOD (msprinter, mswindows, clear_frame); CONSOLE_INHERITS_METHOD (msprinter, mswindows, frame_output_begin); - CONSOLE_INHERITS_METHOD (msprinter, mswindows, frame_output_end); CONSOLE_INHERITS_METHOD (msprinter, mswindows, bevel_area); CONSOLE_INHERITS_METHOD (msprinter, mswindows, output_string); CONSOLE_INHERITS_METHOD (msprinter, mswindows, output_pixmap);