Ticket #114: screen.patch

File screen.patch, 554 bytes (added by genki@…, 18 years ago)

BPrivateScreen patch

  • PrivateScreen.cpp

     
    1717#include "PrivateScreen.h"
    1818#include "ServerProtocol.h"
    1919
     20#include <Application.h>
    2021#include <Autolock.h>
    2122#include <Bitmap.h>
    2223#include <Locker.h>
     
    6667BPrivateScreen::_Get(screen_id id, bool check)
    6768{
    6869    BAutolock locker(sScreenLock);
     70    // Nothing works without a valid appserver-link
     71    if (!be_app)
     72        return NULL;
    6973
    7074    // search for the screen ID
    7175