2
* FIG : Facility for Interactive Generation of figures
3
* Copyright (c) 1985 by Supoj Sutanthavibul
5
* "Permission to use, copy, modify, distribute, and sell this software and its
6
* documentation for any purpose is hereby granted without fee, provided that
7
* the above copyright notice appear in all copies and that both the copyright
8
* notice and this permission notice appear in supporting documentation.
9
* No representations are made about the suitability of this software for
10
* any purpose. It is provided "as is" without express or implied warranty."
15
#include "wf_resources.h"
16
#include "wf_w_drawprim.h"
17
#include "wf_w_util.h"
18
#include "wf_w_setup.h"
20
#include "../machine.h"
21
#include "All-extern.h"
23
/* manually flush out X events */
27
while (XtAppPending(app_con)) {
30
/* pass events to ensure we are completely initialised */
31
XtAppNextEvent(app_con, &event);
32
XtDispatchEvent(&event);