Commit Graph

112 Commits

Author SHA1 Message Date
frese 87ee1ef07d replaced the timeout in wait-event with a select on a pipe that wakes up
a wait-event call in the after-function.
2003-04-01 11:35:12 +00:00
frese c813f7466b - fixed bugs in wait-event, property type
- added atom constants from Xatom.h
2003-03-26 14:43:03 +00:00
frese 9967c456ee - fixed some small bugs and typos
- changed error and after-function handling a bit
- added screen caching
- added timeout in wait-event implementation (did not work with multiple threads)
2003-03-25 18:27:18 +00:00
frese 968e69403f - fixed a bug with the default-screen
- fixed sync-event queue problem
2003-03-13 15:17:36 +00:00
frese fa5085eccf - using select in wait-event now
- modified error handling
- added cml-based event dispatcher to sync-event.scm
- fixed some bugs in mask-handling
- fixed a bug with enum-sets
2003-03-13 13:47:17 +00:00
frese 829150be2f obsolete 2003-03-11 03:06:17 +00:00
frese aaf82e55b6 - changed xid-types to simple numbers
- added "display" to function interfaces
- moved type extraction/creation to C
- more simplifications
2003-03-11 02:47:38 +00:00
mainzelm 1b05b00ec5 Rename with-sync-x-events to init-sync-x-events. 2003-02-04 13:34:14 +00:00
frese de3e6cc70d - added some open's 2003-01-17 16:46:41 +00:00
frese c48fde11ba - bug in make-win-attr-getter fixed
- added window-exists? function
2003-01-17 16:45:27 +00:00
frese 6984e99ccc - bug in make-gcontext-getter fixed 2003-01-17 16:42:14 +00:00
mainzelm 2f6c034d6e Minor corrections. 2002-04-29 09:48:36 +00:00
frese b15642d63d - updated. 2002-04-26 08:29:05 +00:00
frese 2b2cdd70dd - added wm-state property getter and setter. 2002-04-26 08:28:40 +00:00
frese 205abfb826 - changed error signalling to returning #f in some cases.
- fixed some bugs in raise/lower-window and translate-coordinates.
2002-04-26 08:28:05 +00:00
frese 0043252da4 - added destroyed? component to the window-type for a better
recognition of window-destroyal. (should be done with all types)
2002-04-26 08:26:59 +00:00
frese 2db54b1c37 - fixed some small bugs (in motion-event and rect). 2002-04-26 08:25:07 +00:00
frese a0ac2ea56b - changed error signalling from raising an error to returning #f in
some functions.
2002-04-26 08:24:00 +00:00
mainzelm 04812d3f7a Added synchronous interface to X events. 2002-04-17 14:55:10 +00:00
mainzelm cccb9ef8ff Fixed comment. 2002-04-17 14:51:31 +00:00
frese 963be1ec84 - updated. 2002-04-02 11:39:52 +00:00
frese 0edcaacf88 + added window-exists? predicate. 2002-04-02 11:39:10 +00:00
frese d4ea951ebf + fixed a bug in the destroy functions and finalizers. 2002-04-02 11:38:28 +00:00
frese 1bf411918c + added function to read/write properties of type WINDOW. 2002-04-02 11:36:34 +00:00
frese a72df4abd5 updated. 2002-03-17 15:54:43 +00:00
frese 8b739b7124 - create-simple-window now uses a border-width of 0.
- fixed a bug in query-tree.

- added auxiliary functions for query-tree: window-root, window-parent
  and window-children.

- added auxiliary functions for map-state: window-mapped?,
  window-viewable? and window-unviewable?
2002-03-17 15:54:09 +00:00
frese 6bb4947c2c - fixed a bug in get-property.
- added some functions for easier access to properties: get-property,
  get-string-property, change-string-property.
2002-03-17 15:50:41 +00:00
frese 8bd6fd9c30 - fixed a bug gcontext-font. 2002-03-17 15:49:30 +00:00
frese 26c416d441 - graphic functions now all use lists and pairs as rectangle/point
arguments.
- addded some auxiliary functions for rectangles.
2002-03-17 15:49:02 +00:00
frese 2c91c73a18 - the xlib-internal event-queue was not respected in event-ready? and
wait-event etc.
2002-03-17 15:44:45 +00:00
frese a7ec9ccd53 - replaced the use of symbols 'none, 'parent-relative etc. by
functions that create special X-Objects. e.g. special-window:none,
  special-pixmap:copy-from-parent.

- added a discloser for windows (makes debugging easier).

- fixed bugs in gcontext-font, get-window-attributes and text-width

- added enumerated types for colormap-alloc in create-colormap and grab-mode
2002-03-17 15:41:56 +00:00
frese 84ca2f8675 + fixed some bugs.
+ added optional screen argument to some display-functions.
+ added more any-event-* functions.
+ implemented send-event.
+ updated interfaces.
2002-02-25 13:10:11 +00:00
frese 28f5ce9341 - not needed anymore. 2002-02-08 17:15:27 +00:00
frese 10558fa5f0 - fixed GC_PROTECT bugs
- replaced most of symbol or symbol list arguments by enumerated types,
  enum-sets and alists of enumerated types.
- reformed event representation. Every event has it's own record-type now.
2002-02-08 17:09:43 +00:00
mainzelm 4ae0c363d4 Added make-...-alist for enumerated types. 2002-02-06 13:54:56 +00:00
frese 5e1e8a5501 - renamed xlib-type-*.scm to xlib-internal-*.scm 2002-02-05 15:31:23 +00:00
frese ec4311676b - using a save version of gcontext-font. 2002-02-04 12:45:25 +00:00
frese b6a026853a - fixed a bug in draw-image-text. 2002-02-04 12:44:08 +00:00
frese 689134ea02 - fixed little bug in write-bitmap-file. 2002-01-28 00:17:30 +00:00
frese b4f1bcad78 - changed variable arguments and return values in set-wm-hints!,
get-wm-hints, set-wm-normal-hints!, get-wm-normal-hints,
create-gcontext, change-gcontext, get-visual-info,
change-window-attributes, get-window-attributes, configure-window,
create-window to use an enumerated type instead of symbols.
- renamed functions in xlib-client (e.g. wm-hints to get-wm-hints).
2002-01-06 16:53:13 +00:00
mainzelm 20fc229b08 Error handling similar to sigevents 2001-12-19 21:37:16 +00:00
mainzelm ac61d5fcef Wait on events by using the VM's select. 2001-12-04 14:18:57 +00:00
frese 03778abc9e + added a second version of wait-event. See event.scm for details. 2001-12-04 10:18:12 +00:00
frese b909c2a042 - fixed typos
- added missing load's in some structures.
2001-10-30 14:31:36 +00:00
frese 4de9034f71 - updated for new bindings.
- added threads to xlib-event structure. wait-event needs sleep.
2001-10-09 15:51:33 +00:00
frese faffbdd4ed - added finalize? argument to make-pixel, so that allocated
color-cells (=pixels) are freed correctly.
2001-10-09 15:45:26 +00:00
frese fefeb73ccf - completed get-gcontext-values and change/get-window-attributes to
pack/unpack all values correctly.
- added copy-gcontext! and copy-gcontext
- added comments.
2001-10-09 15:43:55 +00:00
frese 9478e09049 - make-font can now create a font from a font-id (Xfont)
- added %font->fontstruct, resp. scx_Font_ID_To_Font_Struct for that.
- removed gcontext-font (see gcontext.scm)
- added comments.
2001-10-09 15:42:26 +00:00
frese 231afe173a - added wait-event
- event-args now returns an alist of the event fields.
2001-10-09 15:40:01 +00:00
frese b4fb3ffd9f - added display-select-input, resp. scx_Display_Select_Input. 2001-10-09 15:33:45 +00:00