• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

Japanese translation of message catalog for Sawfish Window-Manager


コミットメタ情報

リビジョン511a71e5984f81296662a8c998e952fb88daa6a7 (tree)
日時1999-08-01 22:33:05
作者john <john>
コミッターjohn

ログメッセージ

(ignore-program-positions): program specified window positions are
ignored if this is set. User specified positions are never ignored

変更サマリ

差分

--- a/lisp/place-window.jl
+++ b/lisp/place-window.jl
@@ -24,9 +24,17 @@
2424 (defvar place-window-mode 'random
2525 "Method of selecting the position of a freshly-mapped window.")
2626
27+(defvar ignore-program-positions nil
28+ "When non-nil the PPosition size hint is ignored.")
29+
2730 ;; called from the place-window-hook
2831 (defun place-window (w)
29- (if (window-transient-p w)
32+ (let
33+ ((hints (window-size-hints w)))
34+ (if (or (window-transient-p w)
35+ (cdr (assq 'user-position hints))
36+ (and (not ignore-program-positions)
37+ (cdr (assq 'program-position hints))))
3038 nil
3139 (let
3240 ((mode (or (window-get w 'place-mode) place-window-mode)))
--- a/lisp/sawfish/wm/placement.jl
+++ b/lisp/sawfish/wm/placement.jl
@@ -24,9 +24,17 @@
2424 (defvar place-window-mode 'random
2525 "Method of selecting the position of a freshly-mapped window.")
2626
27+(defvar ignore-program-positions nil
28+ "When non-nil the PPosition size hint is ignored.")
29+
2730 ;; called from the place-window-hook
2831 (defun place-window (w)
29- (if (window-transient-p w)
32+ (let
33+ ((hints (window-size-hints w)))
34+ (if (or (window-transient-p w)
35+ (cdr (assq 'user-position hints))
36+ (and (not ignore-program-positions)
37+ (cdr (assq 'program-position hints))))
3038 nil
3139 (let
3240 ((mode (or (window-get w 'place-mode) place-window-mode)))