• 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

Revision030c0a4fdd08571910bb0d8d61bdb92886def975 (tree)
Time1999-07-29 00:22:32
Authorjohn <john>
Commiterjohn

Log Message

now looks for shaped windows as well as transients

Change Summary

Incremental Difference

--- a/lisp/sawfish/wm/state/transient.jl
+++ b/lisp/sawfish/wm/state/transient.jl
@@ -19,14 +19,26 @@
1919 ;; along with sawmill; see the file COPYING. If not, write to
2020 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
2121
22+;; XXX rename this file frames.jl
23+
2224 (provide 'transient)
2325
2426 (defvar transient-frame nil-frame
2527 "Frame used to decorate transient windows.")
2628
29+(defvar shaped-frame default-frame
30+ "Frame used to decorate shaped windows.")
31+
32+(defvar shaped-transient-frame nil-frame
33+ "Frame used to decorate shaped transient windows.")
34+
2735 ;; called from the add-window-hook
2836 (defun transient-add-window (w)
29- (when (window-transient-p w)
30- (set-window-frame w transient-frame)))
37+ (if (window-transient-p w)
38+ (if (window-shaped-p w)
39+ (set-window-frame w shaped-transient-frame)
40+ (set-window-frame w transient-frame))
41+ (when (window-shaped-p w)
42+ (set-window-frame w shaped-frame))))
3143
3244 (add-hook 'add-window-hook 'transient-add-window t)
--- a/lisp/transient.jl
+++ b/lisp/transient.jl
@@ -19,14 +19,26 @@
1919 ;; along with sawmill; see the file COPYING. If not, write to
2020 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
2121
22+;; XXX rename this file frames.jl
23+
2224 (provide 'transient)
2325
2426 (defvar transient-frame nil-frame
2527 "Frame used to decorate transient windows.")
2628
29+(defvar shaped-frame default-frame
30+ "Frame used to decorate shaped windows.")
31+
32+(defvar shaped-transient-frame nil-frame
33+ "Frame used to decorate shaped transient windows.")
34+
2735 ;; called from the add-window-hook
2836 (defun transient-add-window (w)
29- (when (window-transient-p w)
30- (set-window-frame w transient-frame)))
37+ (if (window-transient-p w)
38+ (if (window-shaped-p w)
39+ (set-window-frame w shaped-transient-frame)
40+ (set-window-frame w transient-frame))
41+ (when (window-shaped-p w)
42+ (set-window-frame w shaped-frame))))
3143
3244 (add-hook 'add-window-hook 'transient-add-window t)