• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

Revisiona4b6186235eaf17834eec8fd6a866d81df501976 (tree)
Time1999-08-03 00:53:31
Authorjohn <john>
Commiterjohn

Log Message

(Fget_cursor): if a symbol, dereference it's cursor-shape property
_before_ scanning the list for an existing cursor

Change Summary

Incremental Difference

--- a/src/cursors.c
+++ b/src/cursors.c
@@ -35,14 +35,15 @@ get-cursor DATA
3535 {
3636 Lisp_Cursor *f;
3737
38+ if (rep_SYMBOLP(data))
39+ data = Fget (data, Qcursor_shape);
40+
3841 f = cursor_list;
3942 while (f != 0 && f->data != data)
4043 f = f->next;
4144 if (f == 0)
4245 {
4346 Cursor cursor = 0;
44- if (rep_SYMBOLP(data))
45- data = Fget (data, Qcursor_shape);
4647 if (rep_INTP(data))
4748 cursor = XCreateFontCursor (dpy, rep_INT(data));
4849 else if (IMAGEP(data))