Ticket #114: screen.patch
File screen.patch, 554 bytes (added by , 19 years ago) |
---|
-
PrivateScreen.cpp
17 17 #include "PrivateScreen.h" 18 18 #include "ServerProtocol.h" 19 19 20 #include <Application.h> 20 21 #include <Autolock.h> 21 22 #include <Bitmap.h> 22 23 #include <Locker.h> … … 66 67 BPrivateScreen::_Get(screen_id id, bool check) 67 68 { 68 69 BAutolock locker(sScreenLock); 70 // Nothing works without a valid appserver-link 71 if (!be_app) 72 return NULL; 69 73 70 74 // search for the screen ID 71 75