FVWM: _Titlebar Patch_ TitleStyle Problems (Followup Fix)

From: Hi <veliaa_at_rpi.edu>
Date: Wed, 11 Sep 1996 18:49:11 -0400

>>>>> Regarding FVWM: TitleStyle Problems; Christopher Wolf
>>>>> <cwolf_at_micro.ti.com> adds:

    Christopher> ActiveDown setting which works (beacause I don't use
    Christopher> the -- stuff). No manner of options after the --
    Christopher> seems to get it to work.

    Christopher> Anyone know why?

Okay Chris,

Hmm... I said I thought this shouldn't be discussed on the list but
just to followup the last message here is a fix :). Until I get time
to make a new patch, please check it out (I'm pretty certain this
fixes it, it was a pretty dumb on my part).

Thanks for noting this problem.

-- 
Andrew Veliath <veliaa_at_rpi.edu>        http://www.rpi.edu/~veliaa
Finger for PGP Public Key
Key fingerprint =  51 56 5D 3E 51 43 8B 74  7C B2 E4 B6 84 8E 8B 08
--
diff -cr orig/fvwm-2.0.43.tbp4/fvwm/borders.c fvwm/fvwm/borders.c
*** orig/fvwm-2.0.43.tbp4/fvwm/borders.c	Wed Sep 11 18:39:32 1996
--- fvwm/fvwm/borders.c	Wed Sep 11 18:38:55 1996
***************
*** 513,519 ****
      ButtonFace bf;
  
      /* inactive = 0, active up = 1, active down = 2 */
!     switch ((bf.style = Scr.TitleStyle.face[state].style))
      {
      case SolidButton:
      case FullSolidButton:
--- 513,519 ----
      ButtonFace bf;
  
      /* inactive = 0, active up = 1, active down = 2 */
!     switch ((bf.style = Scr.TitleStyle.face[state].style) & ButtonFaceTypeMask)
      {
      case SolidButton:
      case FullSolidButton:
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Sep 11 1996 - 17:53:30 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST