]> Dogcows Code - chaz/tint2/commitdiff
fixed black windows drawing in fake transparency (flush before drawing window)
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Thu, 14 Jan 2010 21:05:42 +0000 (21:05 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Thu, 14 Jan 2010 21:05:42 +0000 (21:05 +0000)
src/tint.c
src/tooltip/tooltip.c

index a8cc19d71b8cf27325a18e11b238cd022eee8403..3812b9d3c28ccc949900bebc812c1a0028885241 100644 (file)
@@ -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;
index 58169fd3eafe56793ccd05212bbd753e9df42e92..a2277b398fed3d023b1d262bb280114edd6f774a 100644 (file)
@@ -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);
        }
 }
This page took 0.026594 seconds and 4 git commands to generate.