:-> Matching is now done on UTF-8, which makes it almost instant.
- perl/selection, perl/selection-autotransform: regexes are now
being interpreted in the locale urxvt was started.
+ - implemented override-redirect option and enabled it on menus,
+ as kwin puts our windows behind the terminal (what a shoddy wm).
- fixed struct utmp check in configure for OpenBSD.
- complete overhaul of the pty/utmp management stuff and configure
(Emanuele Giaquinta).
if honoured by the WM, the rxvt-unicode window will not have window
decorations; resource B<borderLess>.
+=item B<-override-redirect>
+
+Compile I<frills>: Sets override-redirect on the window; resource
+B<override-redirect>.
+
=item B<-sbg>
Compile I<frills>: Disable the usage of the built-in block graphics/line
character is passed through. It may contain escape values as described
in the entry on B<keysym> following.
-=item B<secondaryScreen:> I<bool>
+=item B<secondaryScreen:> I<boolean>
Turn on/off secondary screen (default enabled).
-=item B<secondaryScroll:> I<bool>
+=item B<secondaryScroll:> I<boolean>
Turn on/off secondary screen scroll (default enabled). If the this
option is enabled, scrolls on the secondary screen will change the
scrollback buffer and switching to/from the secondary screen will
instead scroll the screen up.
-=item B<hold>: I<bool>
+=item B<hold>: I<boolean>
Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
will not immediately destroy its window when the program executed within
=item B<transient-for>: I<windowid>
-Sets the WM_TRANSIENT_FOR property to the given window iw.
+Compile I<frills>: Sets the WM_TRANSIENT_FOR property to the given window id.
+
+=item B<override-redirect>: I<boolean>
+
+Compile I<frills>: Sets override-redirect for the terminal window, making
+it almost invisible to window managers; option B<-override-redirect>.
=back
display->depth = gattr.depth; // doh //TODO, per-term not per-display?
}
+ /* grab colors before netscape does */
+ Get_Colours ();
+
+ if (!set_fonts ())
+ rxvt_fatal ("unable to load base fontset, please specify a valid one using -fn, aborting.\n");
+
+ parent = DefaultRootWindow (disp);
+
+ attributes.override_redirect = !!OPTION (Opt_override_redirect);
+
#if ENABLE_FRILLS
if (OPTION (Opt_borderLess))
{
- prop = XInternAtom(disp, "_MOTIF_WM_INFO", True);
+ prop = XInternAtom (disp, "_MOTIF_WM_INFO", True);
if (prop == None)
{
/* print_warning("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n");*/
-#ifdef PREFER_24BIT
attributes.override_redirect = TRUE;
-#endif
mwmhints.flags = 0;
}
else
mwmhints.flags = 0;
#endif
- /* grab colors before netscape does */
- Get_Colours ();
-
- if (!set_fonts ())
- rxvt_fatal ("unable to load base fontset, please specify a valid one using -fn, aborting.\n");
-
- parent = DefaultRootWindow (disp);
-
#if ENABLE_XEMBED
if (rs[Rs_embed])
{
window_calc (0, 0);
/* sub-window placement & size in rxvt_resize_subwindows () */
-#ifdef PREFER_24BIT
attributes.background_pixel = pix_colors_focused[Color_border];
attributes.border_pixel = pix_colors_focused[Color_border];
attributes.colormap = display->cmap;
ext_bwidth,
display->depth, InputOutput,
display->visual,
- CWColormap | CWBackPixel | CWBorderPixel, &attributes);
-#else
- top = XCreateSimpleWindow (disp, parent,
- szHint.x, szHint.y,
- szHint.width, szHint.height,
- ext_bwidth,
- pix_colors_focused[Color_border],
- pix_colors_focused[Color_border]);
-#endif
+ CWColormap | CWBackPixel | CWBorderPixel | CWOverrideRedirect,
+ &attributes);
this->parent[0] = top;
def(insecure, 24) // insecure esc sequences
def(borderLess, 25) // mwm borderless hints
def(hold, 26) // hold window open after exit
- def(skipBuiltinGlyphs, 27) // do not use internal glyphs
+ def(override_redirect, 27)
+ def(skipBuiltinGlyphs, 28) // do not use internal glyphs
#else
nodef(insecure)
nodef(borderLess)
nodef(hold)
nodef(skipBuiltinGlyphs)
+ nodef(override_redirect)
#endif
#if ENABLE_STYLES
- def(intensityStyles, 28) // font styles imply intensity
+ def(intensityStyles, 29) // font styles imply intensity
#else
nodef(intensityStyles)
#endif
#endif
#if ENABLE_FRILLS
def (transient_for)
+ def (override_redirect)
def (pty_fd)
def (hold)
def (ext_bwidth)
urxvt::term->new ($env, "popup",
"--perl-lib" => "", "--perl-ext-common" => "",
- "-pty-fd" => -1, "-sl" => 0, "-b" => 1, "-bd" => "grey80", "-bl", "-override-redirect",
+ "-pty-fd" => -1, "-sl" => 0,
+ "-b" => 1, "-bd" => "grey80", "-bl", "-override-redirect",
"--transient-for" => $self->{term}->parent,
"-display" => $self->{term}->display_id,
"-pe" => "urxvt-popup")
#endif
#if ENABLE_FRILLS
RSTRG (Rs_transient_for, "transient-for", "windowid"),
+ BOOL (Rs_override_redirect, "override-redirect", "override-redirect", Opt_override_redirect, "set override-redirect on the terminal window"),
STRG (Rs_pty_fd, NULL, "pty-fd", "fileno", "file descriptor of pty to use"),
BOOL (Rs_hold, "hold", "hold", Opt_hold, "retain window after shell exit"),
STRG (Rs_ext_bwidth, "externalBorder", "w", "number", "external border in pixels"),