Re: PATCH: menu drawing fixes

2005-11-26 Thread Dominik Vogt
On Fri, Nov 25, 2005 at 04:05:31PM -0500, Dan Espen wrote:
 Dan Espen [EMAIL PROTECTED] writes:
  Dominik Vogt [EMAIL PROTECTED] writes:
   The attached patch fixes various menu drawing problems. 
   Would someone be so kind and commit it to CVS, please?
  
  Did you post the whole patch?
  menu_expose in menu.h still returns void.
  I got:
  
  ../../fvwm2_5_15/fvwm/menus.c:6814: error: conflicting types for 
  'menu_expose
  '
  ../../fvwm2_5_15/fvwm/menus.h:355: error: previous declaration of 
  'menu_expos
  e' was here
 
 More errors after fixing that:
 
 ../../fvwm2_5_15/fvwm/menus.c: In function 'make_menu':
 ../../fvwm2_5_15/fvwm/menus.c:2675: warning: implicit declaration of function 
 'MR_USED_MINI_ICONS'
 ../../fvwm2_5_15/fvwm/menus.c:2675: error: invalid lvalue in assignment
 ../../fvwm2_5_15/fvwm/menus.c: In function 'get_menu_paint_item_parameters':
 ../../fvwm2_5_15/fvwm/menus.c:3355: error: 'struct anonymous' has no member 
 named 'used_mini_icons'

Sorry, I forgot to include the header files menus.h and menuitem.h
in the patch.  I've committed them now.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: resizing windows with root-transparent titles

2005-11-26 Thread Dominik Vogt
On Sat, Nov 26, 2005 at 09:35:16PM +0100, Viktor Griph wrote:
 It seems as if resizing of windows with root transparent titles doesn't 
 update the title. It will consist of the old pixmap, with the title text 
 on the same position as before, posible tiled, if the window grew. Anyone 
 that can give me a hint on where to start looking for the error?

I've no idea where to look (Olivier wrote that code), but it works
for me.  Do you have a minimal config to show your problem?

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: resizing windows with root-transparent titles

2005-11-26 Thread Viktor Griph

On Sat, 26 Nov 2005, Dominik Vogt wrote:


On Sat, Nov 26, 2005 at 09:35:16PM +0100, Viktor Griph wrote:

It seems as if resizing of windows with root transparent titles doesn't
update the title. It will consist of the old pixmap, with the title text
on the same position as before, posible tiled, if the window grew. Anyone
that can give me a hint on where to start looking for the error?


I've no idea where to look (Olivier wrote that code), but it works
for me.  Do you have a minimal config to show your problem?


Colorset 1 RootTransparent
TitleStyle Colorset 1
Style * ResizeOpaque

To reproduce then resize the window, and keep it focused all the time. 
It's best noticed if you have a small window and resize it to more double 
size or more. During the resizing the title will be updateing, but when 
it's complete it will change to the previous title tiled. Once the window 
is unfocused the title is restored.


/Viktor