• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine 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

Revision33a29290733c50f7a9e5942556f3ebafb746fdc7 (tree)
Zeit1999-07-29 22:41:49
Autorjohn <john>
Commiterjohn

Log Message

removed the auto-raise stuff

Ändern Zusammenfassung

Diff

--- a/lisp/focus.jl
+++ b/lisp/focus.jl
@@ -26,29 +26,15 @@
2626 focus is only changed when a top-level window is entered, never when the
2727 root window is entered.")
2828
29-(defvar raise-windows-on-focus nil
30- "When non-nil, windows are raised after receiving focus.")
31-
32-(defvar raise-window-timeout 500
33- "Time in milliseconds until windows are raised if raise-windows-on-focus
34-is set.")
35-
3629 (defun focus-enter-fun (w)
3730 (if (eq w 'root)
3831 (unless sloppy-focus
3932 (set-input-focus nil))
40- (set-input-focus w)
41- (when raise-windows-on-focus
42- (focus-raise w))))
33+ (set-input-focus w)))
4334
4435 (defun focus-leave-fun (w)
4536 (unless sloppy-focus
4637 (set-input-focus nil)))
4738
48-(defun focus-raise (w)
49- (sync-server)
50- (sit-for 0 raise-window-timeout)
51- (raise-window w))
52-
5339 (add-hook 'enter-notify-hook 'focus-enter-fun t)
5440 (add-hook 'leave-notify-hook 'focus-leave-fun t)
--- a/lisp/sawfish/wm/focus.jl
+++ b/lisp/sawfish/wm/focus.jl
@@ -26,29 +26,15 @@
2626 focus is only changed when a top-level window is entered, never when the
2727 root window is entered.")
2828
29-(defvar raise-windows-on-focus nil
30- "When non-nil, windows are raised after receiving focus.")
31-
32-(defvar raise-window-timeout 500
33- "Time in milliseconds until windows are raised if raise-windows-on-focus
34-is set.")
35-
3629 (defun focus-enter-fun (w)
3730 (if (eq w 'root)
3831 (unless sloppy-focus
3932 (set-input-focus nil))
40- (set-input-focus w)
41- (when raise-windows-on-focus
42- (focus-raise w))))
33+ (set-input-focus w)))
4334
4435 (defun focus-leave-fun (w)
4536 (unless sloppy-focus
4637 (set-input-focus nil)))
4738
48-(defun focus-raise (w)
49- (sync-server)
50- (sit-for 0 raise-window-timeout)
51- (raise-window w))
52-
5339 (add-hook 'enter-notify-hook 'focus-enter-fun t)
5440 (add-hook 'leave-notify-hook 'focus-leave-fun t)