-
Notifications
You must be signed in to change notification settings - Fork 5
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
Setting title bar #7
Comments
Judging based on the And searching through the X11 protocol docs, we find the ChangeProperty
+ 1 18 opcode
1 mode
0 Replace
1 Prepend
2 Append
2 6+(n+p)/4 request length
4 WINDOW window
4 ATOM property
4 ATOM type
1 CARD8 format
3 unused
4 CARD32 length of data in format units
(= n for format = 8)
(= n/2 for format = 16)
(= n/4 for format = 32)
n LISTofBYTE data
(n is a multiple of 2 for format = 16)
(n is a multiple of 4 for format = 32)
p unused, p=pad(n) If we then cross-reference opcode Tips/pointers to add: Serializing the The specific "property" you want to change looks like it would be the For reference, I'm also just a Zig/X11 noob so I could just as easily be off on a few things but this looked answerable based on what I have been trying to investigate on how to add transparency/alpha support for the window (32-bit color depth). |
I've been messing with zigx for a couple weeks now and I have most of the basics down but I can't figure out how to set the title for a window. Is this currently possible? I've tried looking through the source code but haven't been able to find anything.
I have no experience with plain X11 programming previous to this project, so there could be terminology I'm skimming over
The text was updated successfully, but these errors were encountered: