Subject: menu titles highlighted by ActiveFore

From: [email-masked]
Date: Wed, 27 Jan 1999 21:18:33 -0600 (CST)

Full_Name: Adam Rice
Version: 2.1.10
CVS_Date: 
OS: Linux 2.0.36
X_Server: Xfree86 3.3.3
Submission from: (NULL) (193.133.58.145)

ActiveFore highlights menu titles when the mouse is over them, even though
none
of the other highlight effects are applied to them. This looks bad.

Patch follows (works for me, YMMV)

*** menus.c.old Wed Jan 20 01:50:15 1999
--- menus.c     Thu Jan 28 03:00:14 1999
***************
*** 1730,1736 ****
  
    if(check_allowed_function(mi))
    {
!     if(mi->state)
        currentGC = mr->ms->look.MenuActiveGC;
      else
        currentGC = mr->ms->look.MenuGC;
--- 1730,1736 ----
  
    if(check_allowed_function(mi))
    {
!     if(mi->state && !mi->fIsSeparator)
        currentGC = mr->ms->look.MenuActiveGC;
      else
        currentGC = mr->ms->look.MenuGC;

--
Visit the official FVWM web page at <URL:http://fvwm.math.uh.edu/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked].