rxvt_term::rxvt_term ()
:
+#if TRANSPARENT
rootwin_ev (this, &rxvt_term::rootwin_cb),
- termwin_ev (this, &rxvt_term::x_cb),
- vt_ev (this, &rxvt_term::x_cb),
+#endif
#ifdef HAVE_SCROLLBARS
scrollbar_ev (this, &rxvt_term::x_cb),
#endif
#ifdef USE_XIM
im_ev (this, &rxvt_term::im_cb),
#endif
+ termwin_ev (this, &rxvt_term::x_cb),
+ vt_ev (this, &rxvt_term::x_cb),
check_ev (this, &rxvt_term::check_cb),
flush_ev (this, &rxvt_term::flush_cb),
destroy_ev (this, &rxvt_term::destroy_cb),
if (display)
{
-#ifdef USE_XIM
+#if USE_XIM
im_ev.stop (display);
#endif
-#ifdef HAVE_SCROLLBARS
+#if HAVE_SCROLLBARS
scrollbar_ev.stop (display);
#endif
-#ifdef MENUBAR
+#if MENUBAR
menubar_ev.stop (display);
#endif
+#if TRANSPARENT
rootwin_ev.stop (display);
+#endif
+ incr_ev.stop ();
termwin_ev.stop (display);
vt_ev.stop (display);
}
{
XSelectInput (display->display, display->root, PropertyChangeMask);
check_our_parents ();
+ rootwin_ev.start (display, display->root);
}
#endif
- rootwin_ev.start (display, display->root);
-
XMapWindow (display->display, TermWin.vt);
XMapWindow (display->display, TermWin.parent[0]);
if (height == 0)
height = wattr.height - szHint.base_height;
}
+
if (width != TermWin.width || height != TermWin.height)
{
width += szHint.base_width;