X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=src%2Fevents%2Fevents.h;h=3260144aad8f34b6bc665cb68d95d03dba434c18;hb=fc0d29c8b6140482ab10eb387fb8b78c093de362;hp=87331da5c0cd91e99c83f36aa2d674fbe2ee8110;hpb=0383856c492695b6b79ad705e95f02b9d70a67ff;p=sxemacs diff --git a/src/events/events.h b/src/events/events.h index 87331da..3260144 100644 --- a/src/events/events.h +++ b/src/events/events.h @@ -78,7 +78,7 @@ along with this program. If not, see . */ not occurring until the next event occurs. handle_magic_event_cb SXEmacs calls this with an event structure which - contains window-system dependent information that + contains window-system dependent information that SXEmacs doesn't need to know about, but which must happen in order. If the next_event_cb never returns an event of type "magic", this will never be used. @@ -96,20 +96,20 @@ along with this program. If not, see . */ value it can deal with. remove_timeout_cb Called with an int, the id number of a wakeup to - discard. This id number must have been returned by + discard. This id number must have been returned by the add_timeout_cb. If the given wakeup has already expired, this should do nothing. select_process_cb These callbacks tell the underlying implementation to unselect_process_cb add or remove a file descriptor from the list of fds - which are polled for inferior-process input. When + which are polled for inferior-process input. When input becomes available on the given process connection, an event of type "process" should be generated. select_console_cb These callbacks tell the underlying implementation unselect_console_cb to add or remove a console from the list of consoles - which are polled for user-input. + which are polled for user-input. select_device_cb These callbacks are used by Unixoid event loops unselect_device_cb (those that use select() and file descriptors and @@ -175,7 +175,7 @@ along with this program. If not, see . */ If this is an integer, it will be in the printing ASCII range: >32 and <127. modifiers Bucky-bits on that key: control, meta, etc. - Also includes buttons. + Also includes buttons. For many keys, Shift is not a bit; that is implicit in the keyboard layout. @@ -183,7 +183,7 @@ along with this program. If not, see . */ button_release_event button What button went down or up. modifiers Bucky-bits on that button: shift, control, meta, etc. - Also includes other buttons (not the one pressed). + Also includes other buttons (not the one pressed). x, y Where it was at the button-state-change (in pixels). pointer_motion_event @@ -680,10 +680,10 @@ USID event_stream_unixoid_create_stream_pair(void *inhandle, void *outhandle, USID event_stream_unixoid_delete_stream_pair(Lisp_Object instream, Lisp_Object outstream); +#endif /* HAVE_UNIXOID_EVENT_LOOP */ /* Beware: this evil macro evaluates its arg many times */ #define FD_TO_USID(fd) ((fd)==0 ? (USID)999999 : ((fd)<0 ? USID_DONTHASH : (USID)(fd))) -#endif /* HAVE_UNIXOID_EVENT_LOOP */ /* Define this if you want the tty event stream to be used when the first console is tty, even if HAVE_X_WINDOWS is defined */