Mercurial > hg > xemacs-beta
comparison src/toolbar-x.c @ 384:bbff43aa5eb7 r21-2-7
Import from CVS: tag r21-2-7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:08:24 +0200 |
parents | 8626e4521993 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
383:6a50c6a581a5 | 384:bbff43aa5eb7 |
---|---|
502 if (!vert) | 502 if (!vert) |
503 { | 503 { |
504 Lisp_Object frame; | 504 Lisp_Object frame; |
505 | 505 |
506 XSETFRAME (frame, f); | 506 XSETFRAME (frame, f); |
507 DEVMETH (d, clear_region, (frame, | 507 redisplay_clear_region (frame, |
508 DEFAULT_INDEX, FRAME_PIXWIDTH (f) - 1, y, 1, | 508 DEFAULT_INDEX, FRAME_PIXWIDTH (f) - 1, y, 1, |
509 bar_height)); | 509 bar_height); |
510 } | 510 } |
511 | 511 |
512 SET_TOOLBAR_WAS_VISIBLE_FLAG (f, pos, 1); | 512 SET_TOOLBAR_WAS_VISIBLE_FLAG (f, pos, 1); |
513 | 513 |
514 XFlush (DEVICE_X_DISPLAY (d)); | 514 XFlush (DEVICE_X_DISPLAY (d)); |
540 } | 540 } |
541 } | 541 } |
542 | 542 |
543 SET_TOOLBAR_WAS_VISIBLE_FLAG (f, pos, 0); | 543 SET_TOOLBAR_WAS_VISIBLE_FLAG (f, pos, 0); |
544 | 544 |
545 DEVMETH (d, clear_region, (frame, DEFAULT_INDEX, x, y, width, height)); | 545 redisplay_clear_region (frame, DEFAULT_INDEX, x, y, width, height); |
546 XFlush (DEVICE_X_DISPLAY (d)); | 546 XFlush (DEVICE_X_DISPLAY (d)); |
547 } | 547 } |
548 | 548 |
549 static void | 549 static void |
550 x_output_frame_toolbars (struct frame *f) | 550 x_output_frame_toolbars (struct frame *f) |