mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 18:13:20 -08:00
do not assume presence of _MOTIF_WM_HINTS
This commit is contained in:
1 parent
c1309e2948
commit
653cc98662
1 file changed
+4
-1
@@ -638,7 +638,10 @@ wm_window_open(Rng2F32 rect, WM_WindowFlags flags, String8 title)
|
|||||||
};
|
};
|
||||||
Hints hints = {.flags = 2, .decorations = 0};
|
Hints hints = {.flags = 2, .decorations = 0};
|
||||||
Atom property = XInternAtom(lnx_wm_state->display, "_MOTIF_WM_HINTS", 1);
|
Atom property = XInternAtom(lnx_wm_state->display, "_MOTIF_WM_HINTS", 1);
|
||||||
XChangeProperty(lnx_wm_state->display, w->window, property, property, 32, PropModeReplace, (unsigned char *)&hints, 5);
|
if(property != None)
|
||||||
|
{
|
||||||
|
XChangeProperty(lnx_wm_state->display, w->window, property, property, 32, PropModeReplace, (unsigned char *)&hints, 5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//- rjf: convert to handle & return
|
//- rjf: convert to handle & return
|
||||||
|
|||||||
Reference in new issue
Block a user