From: Thierry Lorthiois Date: Thu, 14 Jan 2010 21:05:42 +0000 (+0000) Subject: fixed black windows drawing in fake transparency (flush before drawing window) X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=d1efbd72c7ff364eed326c16eaf2b20599b089e5;p=chaz%2Ftint2 fixed black windows drawing in fake transparency (flush before drawing window) --- diff --git a/src/tint.c b/src/tint.c index a8cc19d..3812b9d 100644 --- a/src/tint.c +++ b/src/tint.c @@ -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; diff --git a/src/tooltip/tooltip.c b/src/tooltip/tooltip.c index 58169fd..a2277b3 100644 --- a/src/tooltip/tooltip.c +++ b/src/tooltip/tooltip.c @@ -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); } }