fixed black windows drawing in fake transparency (flush before drawing window)
git-svn-id: http://tint2.googlecode.com/svn/trunk@348 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
3aa476a248
commit
8ce26f30f5
2 changed files with 1 additions and 5 deletions
|
@ -758,11 +758,6 @@ int main (int argc, char *argv[])
|
|||
event_expose(&e);
|
||||
break;
|
||||
|
||||
case MapNotify:
|
||||
if (e.xany.window == g_tooltip.window)
|
||||
tooltip_update();
|
||||
break;
|
||||
|
||||
case PropertyNotify:
|
||||
event_property_notify(&e);
|
||||
break;
|
||||
|
|
|
@ -114,6 +114,7 @@ void tooltip_show(void* arg)
|
|||
tooltip_copy_text(area);
|
||||
g_tooltip.mapped = True;
|
||||
XMapWindow(server.dsp, g_tooltip.window);
|
||||
tooltip_update();
|
||||
XFlush(server.dsp);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue