Subscription date : 15 January 2010
Messages : 52
|
Hi ,
this a strange thing that come out on emblem icon ,in the dock without my hack i see the icon with emblem in this way :
...but if i insert the same code that uses Fab no in cairo-dock-load.c but in cairo-dock-applications-managaer.c -> void cairo_dock_set_one_icon_geometry_for_window_manager (Icon *icon, CairoDock *pDock)
this is what i have
it looks better but i don't know why
i know is not the right place ( rather it is just a point obscene :D) |
Subscription date : 30 November 2007
Messages : 17118
|
what would be nice is to get the window preview directly from the video card, without loading it into a cairo-surface before.
I know this is possible (Compiz does it), but I've never succeeded to make it work the code is in the function cairo_dock_texture_from_pixmap().
I'm pretty sure it's close to work though. maybe if you could make it work, the emblem wouldn't be so pixellized. |
Subscription date : 15 January 2010
Messages : 52
|
Yes it could be better, shure ... but i don't understand because if i blend the surface in cairo-dock-load.c the surfaces are pixellized ... if i blend after no ... however,i think that the result will be much better directly from the video card , but i didn't try it .. i'll do it this evening |
|