1/* 2 Project: LaternaMagica 3 LMWindow.m 4 5 Copyright (C) 2009-2010 Riccardo Mottola 6 7 Author: Riccardo Mottola 8 9 Created: 2009-01-31 10 11 This application is free software; you can redistribute it and/or 12 modify it under the terms of the GNU General Public 13 License as published by the Free Software Foundation; either 14 version 2 of the License, or (at your option) any later version. 15 16 This application is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 Library General Public License for more details. 20 21 You should have received a copy of the GNU General Public 22 License along with this library; if not, write to the Free 23 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 24 */ 25 26 27#import "LMWindow.h" 28 29 30@implementation LMWindow 31 32/** we subclass canBecomeKeyWindow to be able to receive key events when using 33 borderless windows and screen saver level */ 34- (BOOL)canBecomeKeyWindow 35{ 36 return YES; 37} 38 39/** we subclass canBecomeMainWindow so that the window doesn't get an in-window 40 menu under GNUstep*/ 41- (BOOL)canBecomeMainWindow 42{ 43 return NO; 44} 45 46@end 47