void Kernel::handleExpose(XExposeEvent *event) { Bar *bar = barWindow(event->window); if (bar) { bar->illuminate(); return; } #ifdef SLOT_SUPPORT Slot *slot = slotWindow(event->window); if (slot) { slot->illuminate(); return; } #endif // SLOT_SUPPORT Thing *thing = thingWindow(event->window); if (thing) { thing->illuminate(); } }