Esempio n. 1
0
Box *Kernel::boxWindow(Window window) {

    for (LMonitor::iterator it = monitors_->begin();
         it != monitors_->end(); it++)
    {
        Monitor *monitor = (Monitor *)*it;
        Box *box = monitor->box();
        if (box->window() == window) {
            return box;
        }
    }
    return 0;
}