Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wew makes Emacs think that X closed the connection #2

Closed
greduan opened this issue Feb 25, 2015 · 4 comments
Closed

wew makes Emacs think that X closed the connection #2

greduan opened this issue Feb 25, 2015 · 4 comments

Comments

@greduan
Copy link

greduan commented Feb 25, 2015

Here's the error Emacs gives me when I run it in the CLI: http://sprunge.us/OiBL

This happens if I have wew -a running in another terminal, but if I close wew it works again, if I start wew again then it doesn't work anymore, which makes me think it's definitely wew.

I'm using bspwm if that matters, although I don't think it does.

So this crashes Emacs if I try starting it, but if Emacs is already running it doesn't crash it.

Any ideas why this might happen? Need any more info?

@Vouivre
Copy link

Vouivre commented Mar 8, 2015

I have also a problem and it can be related with yours. I use the application upplay (http://www.lesbonscomptes.com/upplay/) which is an upnp control point to listen to my music. When wew is started I can start the application. When wew -a is running I can't start it. I get the following error:

X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x100000a

This application depends on qtwebkit. If I stop wew -a I can start the application without a problem. kdenlive is another application which uses qtwebkit. It has the same problem. With vlc I also get the error when wew -a is running. The difference is that the error is displayed but the applications starts.

Probably it has nothing to do with bspwm. On my system I have no problem with emacs.

@z3bra
Copy link
Contributor

z3bra commented Apr 2, 2015

This is a "known" problem with wew in fact. I also encountered a few applications that couldn't start when wew -a is running. It has to do with the event mask used, and how wew catch events. I still don't fully understand what wew is doing wrong though, but it forbid clients to change their attributes by themselves. If anyone as an idea, that'd be nice

@z3bra
Copy link
Contributor

z3bra commented Apr 14, 2015

Issue should be fixed as of latest commit (c835abc). I finally figured what was going on! (read commit log for more details)

@z3bra z3bra closed this as completed Apr 14, 2015
@Vouivre
Copy link

Vouivre commented Apr 17, 2015

Great, thank you very much! One application I'm using couldn't start and with your fix there is no problem anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants