From: <co...@us...> - 2002-08-13 01:55:06
|
Update of /cvsroot/interfacewm/interfacewm In directory usw-pr-cvs1:/tmp/cvs-serv16427 Modified Files: IWMTitlebar.m Log Message: minor mods Index: IWMTitlebar.m =================================================================== RCS file: /cvsroot/interfacewm/interfacewm/IWMTitlebar.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** IWMTitlebar.m 24 Jul 2002 03:26:08 -0000 1.1.1.1 --- IWMTitlebar.m 13 Aug 2002 01:55:00 -0000 1.2 *************** *** 132,142 **** if ([client isFocused]) { ! [self resizeToWidth:[client width] height:IWM_TITLEBAR_HEIGHT ! image:[[[client screen] theme] focusedTitlebarImage]]; } else { ! [self resizeToWidth:[client width] height:IWM_TITLEBAR_HEIGHT ! image:[[[client screen] theme] unfocusedTitlebarImage]]; } --- 132,146 ---- if ([client isFocused]) { ! // if the client is focused, place the focused titlebar image in self ! [self resizeToWidth:[client width] ! height:IWM_TITLEBAR_HEIGHT ! image:[[[client screen] theme] focusedTitlebarImage]]; } else { ! // otherwise, place the unfocused titlebar image in self ! [self resizeToWidth:[client width] ! height:IWM_TITLEBAR_HEIGHT ! image:[[[client screen] theme] unfocusedTitlebarImage]]; } |