mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Use 'long' instead of 'CARD32' in wClientSetState() and wWindowSaveState()
The rationale is the same as in commit c7f2a189c4
("Fix the call to XChangeProperty() in 64-bit mode"), because we are
calling XChangeProperty() with format 32, which requires the type of
'data' to be 'long'.
This commit is contained in:
@@ -105,7 +105,7 @@ void wClientRestore(WWindow * wwin)
|
||||
*/
|
||||
void wClientSetState(WWindow * wwin, int state, Window icon_win)
|
||||
{
|
||||
CARD32 data[2];
|
||||
long data[2];
|
||||
|
||||
wwin->state = state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user