xsnow-comp-patch icon indicating copy to clipboard operation
xsnow-comp-patch copied to clipboard

wmutils problems

Open ralsei opened this issue 8 years ago • 9 comments

When running with wmutils, wew can't detect event 7 (XCB_ENTER_NOTIFY).

Also, I noticed that compton draws a shadow when shadows are enabled.

ralsei avatar Feb 27 '16 23:02 ralsei

I'll see if I can replicate your issues.

ProtractorNinja avatar Feb 28 '16 00:02 ProtractorNinja

I ran compton with the config from your dotfiles, and I can't see anything strange (except that the snow is behind the shadows). I'll see what I can check on with wmutils.

ProtractorNinja avatar Feb 28 '16 00:02 ProtractorNinja

I gave the xsnow window a class and classname of xsnow, so you should be able to make compton ignore it.

@ix, can you write a more detailed description of what is/isn't happening with wew?

ProtractorNinja avatar Feb 28 '16 00:02 ProtractorNinja

Basically, wew doesn't appear to return anything when the mouse cursor is placed over a window (aka, XCB_ENTER_NOTIFY). While not running xsnow, this doesn't happen.

I haven't tested stock xsnow without a compositor, however.

ralsei avatar Feb 28 '16 01:02 ralsei

Can you try running without a compositor running? As long as compton isn't active, the patched version still uses stock functionality.

ProtractorNinja avatar Feb 28 '16 05:02 ProtractorNinja

without a compositor it runs as expected, catching XCB_ENTER_NOTIFY events (likely because xsnow uses the root window)

ralsei avatar Feb 28 '16 12:02 ralsei

Darn. Thanks for checking.

ProtractorNinja avatar Feb 28 '16 17:02 ProtractorNinja

i think i've traced down the problem, and it looks like more of a problem with wew or how x11 handles events; namely, it appears that wew spawns XCB_ENTER_NOTIFY when xsnow is opened, and the event can't be controlled by another window because it's higher priority than the other windows. not sure if you can do anything about that

ralsei avatar Feb 28 '16 18:02 ralsei

I might. I'll look into it.

ProtractorNinja avatar Feb 28 '16 19:02 ProtractorNinja