To: checker at d6.com Cc: lablgtk at kaba.or.jp Subject: Re: resize event? In-Reply-To: <4.3.2.7.2.20010105002151.00baf5c0 at shell16.ba.best.com> References: <4.3.2.7.2.20010105002151.00baf5c0 at shell16.ba.best.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010105193233P.wakita at is.titech.ac.jp> Date: Fri, 05 Jan 2001 19:32:33 +0900 From: Ken Wakita Lines: 37 The same occured on Linux, too. I was curious what events are actually happening. Though it does not help what happening, I send my small event viewer for those who are interested. window#event#connect#any ~callback: (fun ev -> let ev = match GdkEvent.get_type ev with `NOTHING -> "nothing" | `EXPOSE -> "expose" | `ENTER_NOTIFY -> "enter_notify" | `LEAVE_NOTIFY -> "leave_notify" | `FOCUS_CHANGE -> "focus_change" | `CONFIGURE -> "configure" | `MAP -> "map" | `PROPERTY_NOTIFY -> "property_notify" | `PROXIMITY_IN -> "proximity_in" | `PROXIMITY_OUT -> "proximity_out" | `CLIENT_EVENT -> "client_event" | `VISIBILITY_NOTIFY -> "visibility_notify" | `NO_EXPOSE -> "no_expose" | _ -> "some other" in Printf.printf "[%s] event occured.\n%t" ev flush; false); It generates the following sequence of events. [focus_change] event occured. <== moving pointer to the resize tag [focus_change] event occured. [configure] event occured. <== dragging the resizing tag [expose] event occured. [configure] event occured. [expose] event occured. [configure] event occured. [expose] event occured. [focus_change] event occured. <== moving pointer to the title bar [focus_change] event occured. [configure] event occured. <== single-click on the title bar [configure] event occured.