mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-06 00:14:43 +00:00
* Remove unnecessary calls to XLOCK/XUNLOCK The X methods called by flush_display_region() and flush_display_lineregion() handle the locking/unlocking, therefore it is unnecessary to invoke the locking here. * Remove explict signals when doing XUNLOCK() Call getXsignaldata() directly if a signal happened while X code was locked, instead of generating a signal and then handling it. Some macros and functions needed to pass the DspInterface instead of extracting the X display and window and passing those so that the correct structure was available for the XUNLOCK() call.
12 lines
450 B
C
12 lines
450 B
C
#ifndef XCURSORDEFS_H
|
|
#define XCURSORDEFS_H 1
|
|
#include <X11/X.h> /* for Cursor, Window */
|
|
#include <X11/Xlib.h> /* for Display */
|
|
#include <stdint.h> /* for uint8_t */
|
|
#include "devif.h" /* for DspInterface */
|
|
void Init_XCursor(void);
|
|
void Set_XCursor(int x, int y);
|
|
void init_Xcursor(DspInterface dsp);
|
|
void set_Xcursor(DspInterface dsp, const uint8_t *bitmap, int hotspot_x, int hotspot_y, Cursor *return_cursor, int from_lisp);
|
|
#endif
|