-
Notifications
You must be signed in to change notification settings - Fork 15
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
BadDataError when trying to rename a window #4
Comments
This is easily fixed by padding the desired title to the required length:
Maybe
|
Ok, thanks, there is no error with your fix... But it doesn't rename the window. I don't really understand why the length title needs to be fixed to 20 chars.
According to pyewmh sources, setWmName() refers to the
|
See X11’s documentation, D.5. The ClientMessage event's format:
Python’s Xlib implementation accordingly sets ClientMessage to use a fixed data size of 20:
|
I would like to rename a window, but I can't. This is an example with getActiveWindow().
Logs:
The text was updated successfully, but these errors were encountered: