#33 Setting unfocused window background color

closed-accepted
Geoff Wing
None
5
2004-01-29
2004-01-29
Lauri Leukkunen
No

This patch allows specifying a different background
color for
unfocused rxvt windows. Useful if you've spent a lot of
time typing into wrong terminals due to not recognizing
which one has input focus.

The patch is against CVS head, but should work just
fine with 2.7.10.

The color can be specified just like all the other
colors (on the command line or in a resource file).

Discussion

  • unfocused background color patch

     
    Attachments
  • Geoff Wing
    Geoff Wing
    2004-01-29

    Logged In: YES
    user_id=22709

    Nice. It needs a couple of adjustments: init.c needs the
    default colour around line 319 (i.e. add a "NULL," line).
    Also, it needs to reset the background properly on refocus
    when pixmaps or transparency is active.

     
  • Geoff Wing
    Geoff Wing
    2004-01-29

    • assigned_to: nobody --> gcw
     
  • Geoff Wing
    Geoff Wing
    2004-01-29

    • status: open --> closed-accepted
     
  • Geoff Wing
    Geoff Wing
    2004-01-29

    Logged In: YES
    user_id=22709

    Thanks. I've applied it with some slight modifications to
    the CVS repository