Mercurial > hg > xemacs-beta
comparison src/glyphs.c @ 639:4b7d425dd3c2
[xemacs-hg @ 2001-07-28 05:08:58 by andyp]
Stop flickering on OpenMotif.
author | andyp |
---|---|
date | Sat, 28 Jul 2001 05:09:03 +0000 |
parents | 190b164ddcac |
children | b39c14581166 |
comparison
equal
deleted
inserted
replaced
638:373ced43e288 | 639:4b7d425dd3c2 |
---|---|
4425 { | 4425 { |
4426 Blocktype_declare (struct expose_ignore); | 4426 Blocktype_declare (struct expose_ignore); |
4427 } *the_expose_ignore_blocktype; | 4427 } *the_expose_ignore_blocktype; |
4428 | 4428 |
4429 int | 4429 int |
4430 check_for_ignored_expose (struct frame* f, int x, int y, int width, int height) | 4430 check_for_ignored_expose (struct frame* f, unsigned int x, unsigned int y, |
4431 unsigned int width, unsigned int height) | |
4431 { | 4432 { |
4432 struct expose_ignore *ei, *prev; | 4433 struct expose_ignore *ei, *prev; |
4433 /* the ignore list is FIFO so we should generally get a match with | 4434 /* the ignore list is FIFO so we should generally get a match with |
4434 the first element in the list */ | 4435 the first element in the list */ |
4435 for (ei = f->subwindow_exposures, prev = 0; ei; ei = ei->next) | 4436 for (ei = f->subwindow_exposures, prev = 0; ei; ei = ei->next) |
4497 find_matching_subwindow | 4498 find_matching_subwindow |
4498 | 4499 |
4499 See if there is a subwindow that completely encloses the requested | 4500 See if there is a subwindow that completely encloses the requested |
4500 area. | 4501 area. |
4501 ****************************************************************************/ | 4502 ****************************************************************************/ |
4502 int find_matching_subwindow (struct frame* f, int x, int y, int width, int height) | 4503 int find_matching_subwindow (struct frame* f, unsigned int x, |
4504 unsigned int y, unsigned int width, | |
4505 unsigned int height) | |
4503 { | 4506 { |
4504 Lisp_Object rest; | 4507 Lisp_Object rest; |
4505 | 4508 |
4506 LIST_LOOP (rest, XWEAK_LIST_LIST (FRAME_SUBWINDOW_CACHE (f))) | 4509 LIST_LOOP (rest, XWEAK_LIST_LIST (FRAME_SUBWINDOW_CACHE (f))) |
4507 { | 4510 { |