[Matt Chapman] | What about, instead: | | - while (XCheckWindowEvent(display, wnd, ~0, &event)) | + while (XCheckMaskEvent(display, ~0, &event)) | | Does this fix it for you? Yes. -- Per Kristian Hove <Per.Hove@math.ntnu.no> Principal engineer Dept. of Mathematical Sciences Norwegian University of Science and Technology