+ /* Fake configure event to force viewport setup
+ * even with no window manager.
+ */
+ fakeEvent.type = ConfigureNotify;
+ fakeEvent.display = fgDisplay.pDisplay.Display;
+ fakeEvent.window = window->Window.Handle;
+ fakeEvent.x = x;
+ fakeEvent.y = y;
+ fakeEvent.width = w;
+ fakeEvent.height = h;
+ XPutBackEvent(fgDisplay.pDisplay.Display, (XEvent*)&fakeEvent);
+