mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
XQuartz: Controller thread launches clients
This avoids a memory leak due to no active auto-release pool on the server thread. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
This commit is contained in:
parent
f7b375bd14
commit
6d6e8fb27f
4 changed files with 17 additions and 9 deletions
|
|
@ -120,6 +120,7 @@ typedef unsigned int NSUInteger;
|
|||
#endif
|
||||
- (void) set_can_quit:(OSX_BOOL)state;
|
||||
- (void) server_ready;
|
||||
- (OSX_BOOL) application:(NSApplication *)app openFile:(NSString *)filename;
|
||||
|
||||
- (IBAction) apps_table_show:(id)sender;
|
||||
- (IBAction) apps_table_done:(id)sender;
|
||||
|
|
@ -144,6 +145,5 @@ typedef unsigned int NSUInteger;
|
|||
#endif /* __OBJC__ */
|
||||
|
||||
void X11ControllerMain(int argc, char **argv, char **envp);
|
||||
void launch_client(const char *cmd);
|
||||
|
||||
#endif /* X11CONTROLLER_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue