forked from joejulian/gio
c5d4e01e3d8fb5962be154ef098ac5fcb915ff78
The _NET_WM_STATE protocol description[0] states that to change the window mode for an X11, "To change the state of a mapped window, a Client MUST send a _NET_WM_STATE client message to the root window." and that the window manager in turn "The Window Manager MUST keep this property updated to reflect the current state of the window." However, our X11 implementation did both: send the message _and_ set or deleted the property. This change makes it so only the message is sent. It also replaces toggling the property by setting or clearing, to ensure our mode and the window manager's mode never gets out of sync. Maybe fixes gio#265 [0] https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html#idm46515148826720 Signed-off-by: Elias Naur <mail@eliasnaur.com>
Gio - https://gioui.org
Immediate mode GUI programs in Go for Android, iOS, macOS, Linux, FreeBSD, OpenBSD, Windows, and WebAssembly (experimental).
Installation, examples, documentation
Go to gioui.org.
Issues
File bugs and TODOs through the issue tracker or send an email to ~eliasnaur/gio@todo.sr.ht. For general discussion, use the mailing list: ~eliasnaur/gio@lists.sr.ht.
Contributing
Post discussion to the mailing list and patches to gio-patches. No Sourcehut account is required and you can post without being subscribed.
See the contribution guide for more details.
An official GitHub mirror is available.
Description
Languages
Go
89.6%
C
7%
Java
1.7%
Objective-C
1.6%