Japanese translation of message catalog for Sawfish Window-Manager
Revision | a4b6186235eaf17834eec8fd6a866d81df501976 (tree) |
---|---|
Time | 1999-08-03 00:53:31 |
Author | john <john> |
Commiter | john |
(Fget_cursor): if a symbol, dereference it's cursor-shape property
_before_ scanning the list for an existing cursor
@@ -35,14 +35,15 @@ get-cursor DATA | ||
35 | 35 | { |
36 | 36 | Lisp_Cursor *f; |
37 | 37 | |
38 | + if (rep_SYMBOLP(data)) | |
39 | + data = Fget (data, Qcursor_shape); | |
40 | + | |
38 | 41 | f = cursor_list; |
39 | 42 | while (f != 0 && f->data != data) |
40 | 43 | f = f->next; |
41 | 44 | if (f == 0) |
42 | 45 | { |
43 | 46 | Cursor cursor = 0; |
44 | - if (rep_SYMBOLP(data)) | |
45 | - data = Fget (data, Qcursor_shape); | |
46 | 47 | if (rep_INTP(data)) |
47 | 48 | cursor = XCreateFontCursor (dpy, rep_INT(data)); |
48 | 49 | else if (IMAGEP(data)) |