File: KeyWindow.m

package info (click to toggle)
lusernet.app 0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 828 kB
  • sloc: objc: 8,495; makefile: 22
file content (22 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
copyright 2002 Alexander Malmberg <alexander@malmberg.org>
*/

#include <Foundation/NSObject.h>

#include "KeyWindow.h"


@implementation KeyWindow

-(void) keyDown: (NSEvent *)e
{
	if ([self delegate])
		if ([[self delegate] respondsToSelector: @selector(keyDown:inWindow:)])
			if ([[self delegate] keyDown: e  inWindow: self])
				return;
	[super keyDown: e];
}

@end