• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
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

修订版3f06671635587b393905d27e5ae686676aa0409b (tree)
时间2010-11-17 20:55:54
作者Michal Maruska <mmaruska@gmai...>
CommiterMichal Maruska

Log Message

select-input x.c

更改概述

差异

--- a/src/x.c
+++ b/src/x.c
@@ -710,6 +710,22 @@ window is created unmapped.
710710 return rep_VAL (w);
711711 }
712712
713+DEFUN("x-window-select-input", Fx_window_select_input, Sx_window_select_input,
714+ (repv win, repv mask), rep_Subr2)
715+/*
716+ ::doc:sawfish.wm.windows.subrs#x-window-select-input::
717+ x-window-select-input WINDOW MASK
718+
719+ ask the X server for future events on the WINDOW, which are matched by the MASK.
720+ ::end:: */
721+{
722+ rep_DECLARE1 (win, X_WINDOWP);
723+ rep_DECLARE2(mask, rep_INTEGERP);
724+ XSelectInput (dpy, VX_DRAWABLE (win)->id, rep_INT(mask));
725+ return Qnil;
726+}
727+
728+
713729 DEFUN ("x-create-pixmap", Fx_create_pixmap,
714730 Sx_create_pixmap, (repv wh), rep_Subr1)
715731 {
@@ -1552,6 +1568,7 @@ rep_dl_init (void)
15521568 x_window_sweep, x_window_mark,
15531569 0, 0, 0, 0, 0, 0, 0);
15541570 rep_ADD_SUBR (Sx_create_window);
1571+ rep_ADD_SUBR (Sx_window_select_input);
15551572 rep_ADD_SUBR (Sx_create_pixmap);
15561573 rep_ADD_SUBR (Sx_create_bitmap);
15571574 rep_ADD_SUBR (Sx_map_window);