-
Notifications
You must be signed in to change notification settings - Fork 599
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
awesome.restart kills _NET_WM_CM property #419
Comments
Just out of curiosity what exactly loses the variable? Is the storage of that kind of variable in X linked to the running WM or is it a side effect of one of the methods used during cleanup? |
Probably the former, but I do not know. |
Reading http://standards.freedesktop.org/wm-spec/1.4/ar01s08.html reminds me again of #181.. |
I don't really agree with your theories, sorry. Here is mine: @timroes Could you start compton from a terminal while awesome is running and another compton is already running, tell me which error message it prints and if this then causes If this really explains the problem, then compton should follow ICCCM with its selection:
As @blueyed already found in EWMH:
|
@psychon You were right about your assumption. So compton should fix it, but looking at their "most recent" release history I will likely not rely on a new release there and since I am anyway refactoring large parts of my config I was anyway going to write a proper functioning |
Why not just use ~/.xsessionrc for this? |
Was this reported to compton? If yes, where exactly? If no, I will do so. |
@psychon Haven't reported it. Please feel free to do so (you could anyway explain it better). |
Fix available at chjj/compton#320. |
It seems, that restarting awesome via
awesome.restart()
resets a _NET_WM_CM property a compositor have set beforehand.If I start compton via my config and with the flag
-b
it runs as a daemon in background;awesome.composite_manager_running
will returntrue
from now on.If you now restart awesome compton keeps running (and working), but
awesome.composite_manager_running
will returnfalse
after the restart.A simple workaround is to kill compton and start it every time awesome comes up, but it would be nicer if I could just start it once and it will keep the _NET_WM_CM property over an awesome restart.
I am not much into xcb so I don't know if this behavior is intentional or is a side effect of any of the xcb methods during
awesome_atexit
or the startup phase. Do you have any ideas about that?The text was updated successfully, but these errors were encountered: