richardgv / skippy-xd

A full-screen Exposé-style standalone task switcher for X11.
GNU General Public License v2.0
340 stars 76 forks source link

Windows preview with artifacts #38

Closed hpk2987 closed 10 years ago

hpk2987 commented 10 years ago

Im using skippy-xd and xfce with gerybird theme. I noticed that the each window preview has a black rectangle at the bottom and some are slightly cut at the top.

Looking at the code ( in function 'clientwin_repaint' line 220 ) i found that this artifacts could be fixed by substracting a little amount from y_src(s_y) in XRenderComposite. Obviously this is only a hack that works for me in my current configuration. Unfortunately i dont know anything about xlib so i couldnt fix it in a more generic way.

With original code: error

With fix: ok

richardgv commented 10 years ago

It looks similar to what landroni reported in #15. Does this help?

nvidia-drivers's X Render implementation has a bug that X Picture transformation of client window Pictures doesn't choose the correct position. You may try useNameWindowPixmap = true or includeFrame = true in your configuration file.

hpk2987 commented 10 years ago

It helps a lot, thanks, problem solved!. Sorry for not searching properly in other issues.

Im currently using nvidia-drivers: NVRM version: NVIDIA UNIX x86_64 Kernel Module 319.82 Mon Dec 30 02:18:32 PST 2013