mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Handle SIGINT by calling ([NSApp terminate: NSApp]) to shut down
cleanly. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25368 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
07a077f3e7
commit
efb48fbccb
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-08-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XGServer.m (+initializeBackend): Handle SIGINT by
|
||||
calling ([NSApp terminate: NSApp]) to shut down cleanly.
|
||||
|
||||
2007-07-03 Sergii Stoian <soyan255@gmail.com>
|
||||
|
||||
* Source/cairo/CairoGState.m
|
||||
|
|
|
@ -356,6 +356,7 @@ _parse_display_name(NSString *name, int *dn, int *sn)
|
|||
NSDebugLog(@"Initializing GNUstep x11 backend.\n");
|
||||
[GSDisplayServer setDefaultServerClass: [XGServer class]];
|
||||
signal(SIGTERM, terminate);
|
||||
signal(SIGINT, terminate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue