Skip to content

Fixup WM_STATE type mismatch#59

Merged
codic12 merged 1 commit intocodic12:mainfrom
lambdadog:lambdadog/fix-wm-state
Apr 10, 2022
Merged

Fixup WM_STATE type mismatch#59
codic12 merged 1 commit intocodic12:mainfrom
lambdadog:lambdadog/fix-wm-state

Conversation

@lambdadog
Copy link
Contributor

@lambdadog lambdadog commented Apr 9, 2022

Fixes an error with the implementation of #53. It seems WM_STATE is expected to be 32 bits, but I had passed it as a uint8 instead.

Prior to the fix, xprop (on an xterm window) reports:

WM_STATE(WINDOW): Type mismatch: assumed size 32 bits, actual size 8 bits.

After applied, it reports:

WM_STATE(WINDOW):
                window state: Normal
                icon window: <field not available>

xprop reports:

```
WM_STATE(WINDOW): Type mismatch: assumed size 32 bits, actual size 8 bits.
```
@codic12 codic12 merged commit 5acc9eb into codic12:main Apr 10, 2022
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

Successfully merging this pull request may close these issues.

2 participants