*** empty log message ***
authorroot <root>
Wed, 12 Nov 2008 02:37:58 +0000 (02:37 +0000)
committerroot <root>
Wed, 12 Nov 2008 02:37:58 +0000 (02:37 +0000)
Changes
src/command.C
src/rxvt.h

diff --git a/Changes b/Changes
index 90d2627..ca276fe 100644 (file)
--- 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
 
 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.
 9.06 Sat Nov  8 17:47:18 CET 2008
        - NOTICE: this release updates terminfo/termcap.
         - updates libev to 3.48.
index 9a99c29..fa550f5 100644 (file)
@@ -1686,6 +1686,7 @@ rxvt_term::x_cb (XEvent &ev)
   refresh_check ();
 }
 
   refresh_check ();
 }
 
+#if ENABLE_FRILLS
 void
 rxvt_term::set_urgency (bool enable)
 {
 void
 rxvt_term::set_urgency (bool enable)
 {
@@ -1699,6 +1700,7 @@ rxvt_term::set_urgency (bool enable)
       urgency_hint = enable;
     }
 }
       urgency_hint = enable;
     }
 }
+#endif
 
 void
 rxvt_term::focus_in ()
 
 void
 rxvt_term::focus_in ()
index e19f201..0a3427a 100644 (file)
@@ -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,
                   current_screen:1,    /* primary or secondary              */
                   num_scr_allow:1,
                   bypass_keystate:1,
-#ifdef ENABLE_FRILLS
+#if ENABLE_FRILLS
                   urgency_hint:1,
 #endif
                   urgency_hint:1,
 #endif
-#ifdef CURSOR_BLINK
+#if CURSOR_BLINK
                   hidden_cursor:1,
 #endif
                   hidden_cursor:1,
 #endif
-#ifdef TEXT_BLINK
+#if TEXT_BLINK
                   hidden_text:1,
 #endif
                   hidden_text:1,
 #endif
-#ifdef POINTER_BLANK
+#if POINTER_BLANK
                   hidden_pointer:1,
 #endif
                   enc_utf8:1,          /* wether locale uses utf-8 */
                   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 ();
   void button_release (XButtonEvent &ev);
   void focus_in ();
   void focus_out ();
+#if ENABLE_FRILLS
   void set_urgency (bool enable);
   void set_urgency (bool enable);
+#else
+  void set_urgency (bool enable) { }
+#endif
   void update_fade_color (unsigned int idx);
 #ifdef PRINTPIPE
   FILE *popen_printer ();
   void update_fade_color (unsigned int idx);
 #ifdef PRINTPIPE
   FILE *popen_printer ();