Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!ontek!eric From: eric@ontek.UUCP (Eric Hanson) Newsgroups: comp.windows.x Subject: Expose Events on XConfigureWindow Keywords: X11R3 Expose Sun4 Message-ID: <1054@ontek.UUCP> Date: 7 Mar 90 23:47:22 GMT Organization: Ontek Corporation, Laguna Hills, CA Lines: 27 I've got a personalized widget with an expensive drawing algorithm, so I'm trying to use regions, etc. to cut down on the waste. I've got one problem though I'm not sure I understand. Whenever I decrease the size of the widget (thru XtResizeWidget), a single expose event is received with xywh matching the size of the widget. However, since nothing in this widget is being exposed, there SHOULDN'T be an expose event generated. When I increease the size (along 1 axis only), two expose events are received. The first has xywh == the new size, the second has xywh == that portion which was "uncovered". In understand the latter of the two events, but the first doesn't make any sense. My only guess is that the server generates an expose event whenever XConfigureWindow is called. This doesn't make much sense, but one of my X books (X Window System, Scheifler, Gettys, and Newman, p.36) hints at it. Anyone with facts, opinions, or WAGS please E-Mail. Thanks... P.S. I'm running X11R3 on a Sun 4, public-domain 1-bit server. Eric Hanson uunet!ontek!eric Ontek Corporation eric@ontek.com Laguna Hills, CA eric@ontek.uucp