• 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

Revision4d8f66e4489f0926ff9d45d22f955a34f50fcb4d (tree)
Time2014-08-20 04:13:42
AuthorChristopher Roy Bratusek <nano@jpbe...>
CommiterChristopher Roy Bratusek

Log Message

ensure cabinet height does not exceed screen boundaries

Change Summary

Incremental Difference

--- a/lisp/sawfish/wm/ext/cabinet.jl
+++ b/lisp/sawfish/wm/ext/cabinet.jl
@@ -502,9 +502,11 @@
502502 (- (quotient (car (head-dimensions head)) 2)
503503 (quotient wx 2)))
504504 .
505- ,(+ (cdr (head-offset head))
506- (- (quotient (cdr (head-dimensions head)) 2)
507- (quotient wy 2))))
505+ ,(if (> (cdr win-size) (cdr (head-dimensions head)))
506+ '0
507+ (+ (cdr (head-offset head))
508+ (- (quotient (cdr (head-dimensions head)) 2)
509+ (quotient wy 2)))))
508510 win-size
509511 1
510512 `((background . ,cabinet:background))