From e485ada6d4f87e806715bf323ac6d6bf4029cad7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Nov 2008 02:37:58 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 3 +++ src/command.C | 2 ++ src/rxvt.h | 12 ++++++++---- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index 90d26276..ca276fea 100644 --- a/Changes +++ b/Changes @@ -19,6 +19,9 @@ WISH: load system-wide config file even if we don't have one WISH: look into XAddConnectionWatch, does anybody need that? DUMB: support tex fonts + - urxvt did not compile without frills enabled + (analysed by Matthew Rosewarne). + 9.06 Sat Nov 8 17:47:18 CET 2008 - NOTICE: this release updates terminfo/termcap. - updates libev to 3.48. diff --git a/src/command.C b/src/command.C index 9a99c29a..fa550f5e 100644 --- a/src/command.C +++ b/src/command.C @@ -1686,6 +1686,7 @@ rxvt_term::x_cb (XEvent &ev) refresh_check (); } +#if ENABLE_FRILLS void rxvt_term::set_urgency (bool enable) { @@ -1699,6 +1700,7 @@ rxvt_term::set_urgency (bool enable) urgency_hint = enable; } } +#endif void rxvt_term::focus_in () diff --git a/src/rxvt.h b/src/rxvt.h index e19f2010..0a3427a0 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -977,16 +977,16 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen current_screen:1, /* primary or secondary */ num_scr_allow:1, bypass_keystate:1, -#ifdef ENABLE_FRILLS +#if ENABLE_FRILLS urgency_hint:1, #endif -#ifdef CURSOR_BLINK +#if CURSOR_BLINK hidden_cursor:1, #endif -#ifdef TEXT_BLINK +#if TEXT_BLINK hidden_text:1, #endif -#ifdef POINTER_BLANK +#if POINTER_BLANK hidden_pointer:1, #endif enc_utf8:1, /* wether locale uses utf-8 */ @@ -1236,7 +1236,11 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen void button_release (XButtonEvent &ev); void focus_in (); void focus_out (); +#if ENABLE_FRILLS void set_urgency (bool enable); +#else + void set_urgency (bool enable) { } +#endif void update_fade_color (unsigned int idx); #ifdef PRINTPIPE FILE *popen_printer (); -- 2.34.1