menu works on windows
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@139 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
6db4808815
commit
06b2178ecc
5 changed files with 63 additions and 26 deletions
|
|
@ -328,11 +328,11 @@ void MwLLSetIcon(MwLL handle, MwLLPixmap pixmap) {
|
|||
free(icon);
|
||||
}
|
||||
|
||||
void MwLLForceRender(MwLL handle){
|
||||
void MwLLForceRender(MwLL handle) {
|
||||
XEvent ev;
|
||||
memset(&ev, 0, sizeof(ev));
|
||||
|
||||
ev.type = Expose;
|
||||
ev.type = Expose;
|
||||
ev.xexpose.window = handle->window;
|
||||
XSendEvent(handle->display, handle->window, False, ExposureMask, &ev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue