mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Merge pull request #154 from ideasman42/patch-1
Correct size for WM_STATE
This commit is contained in:
commit
0c8fb09385
1 changed files with 1 additions and 1 deletions
|
@ -3039,7 +3039,7 @@ bar_cleanup(struct swm_region *r)
|
|||
void
|
||||
set_win_state(struct ws_win *win, uint8_t state)
|
||||
{
|
||||
uint16_t data[2] = { state, XCB_ATOM_NONE };
|
||||
uint32_t data[2] = { state, XCB_ATOM_NONE };
|
||||
|
||||
DNPRINTF(SWM_D_EVENT, "set_win_state: win %#x, state: %u\n",
|
||||
WINID(win), state);
|
||||
|
|
Loading…
Add table
Reference in a new issue