Package: fspanel
Version: 0.7-7

In fspanel.c is a call

  Pixmap pix, mk = None;
  ...
  XGetGeometry (dd, tk->icon, &pix, &x, &y, &w, &h, &bw, &d);

Looking at man XGetGeometry, you see that the third parameter is supposed to 
be a pointer to a 'Window' and not to a 'Pixmap'. Since the value written 
to 'pix' in that call is never used, it doesn't actually matter though.

A simple fix would be to introduce a temporary:

  -  XGetGeometry (dd, tk->icon, &pix, &x, &y, &w, &h, &bw, &d);
  +  Window unused;
  +  XGetGeometry (dd, tk->icon, &unused, &x, &y, &w, &h, &bw, &d);
  
Note that you can't pass NULL in order to not retrieve that window.


BTW: I'm not fluent enough with your bugtracking system, but in any case the 
ae_fspanel included in package aewm++-goodies suffers the same problem, so 
that should be included in this bugreport, too. I'm not sure how many other 
forks of that panel exist that are also affected. ;)

cheers

Uli



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to