+TODO: !! If I resize the urxvt window to be 4 chars high (or less) it seems to
+> crash when scrolling with the mouse wheel. Mikael Magnusson.
TODO: do font request caching, might help rxvtd on some machines
TODO: manpage 900mb update
TODO: safer command: keymap processing.
refresh_type = FAST_REFRESH;
XClearWindow (disp, top);
// TODO: make XMapNotify-event-code a function and call it
- // TODO: how can I detetc visibility without unmpa/map?
+ // TODO: how can I detect visibility without unmap/map?
// TODO: focusin etc.
}
#else
- // it'S easiets just to unmap/map to get all state correctly set-up
+ // it's easiest just to unmap/map to get all state correctly set-up
XUnmapWindow (disp, top);
#endif
}
vt_emask = ExposureMask | ButtonPressMask | ButtonReleaseMask | PropertyChangeMask;
- pointer_unblank ();
-
#ifdef POINTER_BLANK
if (options & Opt_pointerBlank)
vt_emask |= PointerMotionMask;
pix_colors = pix_colors_unfocused;
#endif
+ pointer_unblank ();
scr_recolour ();
+
+#if ENABLE_XEMBED
+ // why this is necessary, I don't know, race condition??
+ XMoveWindow (disp, TermWin.vt, window_vt_x, window_vt_y);
+#endif
}
/* ------------------------------------------------------------------------- *
if (width == 0 || height == 0)
{
XGetWindowAttributes (display->display, display->root, &wattr);
+
if (width == 0)
width = wattr.width - szHint.base_width;
if (height == 0)