summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2016-12-31 10:31:19 +0000
committerAlan Third <alan@idiocy.org>2016-12-31 16:55:30 +0000
commite0e5b0f4a4ce1d19ee0240c514dedd873d4165dc (patch)
tree0d629fd5b378ae23237d69ca670e36b582491b3f /src/nsterm.h
parent4bbd5424a2290ab4bd88c0af602b7aa7d53a407e (diff)
downloademacs-e0e5b0f4a4ce1d19ee0240c514dedd873d4165dc.tar.gz
Rework NS event handling (bug#25265)
* src/nsterm.m (unwind_apploopnr): Remove. (ns_read_socket): Remove references to apploopnr. Make processing the NS event loop conditional on being in the main thread. (ns_select): Remove references to apploopnr. Remove all fd_handler related stuff. Check if there are events waiting on the NS event queue rather than running the event loop. Remove unused variables and code. (fd_handler): Remove. (ns_term_init): Remove creation of fd_handler thread. (hold_event, EmacsApp:sendEvent, EmacsView:mouseMoved, EmacsView:windowDidExpose): Remove send_appdefined. (ns_send_appdefined): Always check the event queue for applicationDefined events rather than relying on send_appdefined var. * src/nsterm.h: Remove reference to fd_handler method.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index 35c6e1a4cbc..dc222a75e74 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -392,7 +392,6 @@ char const * nstrace_fullscreen_type_name (int);
- (void)sendEvent: (NSEvent *)theEvent;
- (void)showPreferencesWindow: (id)sender;
- (BOOL) openFile: (NSString *)fileName;
-- (void)fd_handler: (id)unused;
- (void)timeout_handler: (NSTimer *)timedEntry;
- (BOOL)fulfillService: (NSString *)name withArg: (NSString *)arg;
#ifdef NS_IMPL_GNUSTEP