Japanese translation of message catalog for Sawfish Window-Manager
Revision | 4d8f66e4489f0926ff9d45d22f955a34f50fcb4d (tree) |
---|---|
Time | 2014-08-20 04:13:42 |
Author | Christopher Roy Bratusek <nano@jpbe...> |
Commiter | Christopher Roy Bratusek |
ensure cabinet height does not exceed screen boundaries
@@ -502,9 +502,11 @@ | ||
502 | 502 | (- (quotient (car (head-dimensions head)) 2) |
503 | 503 | (quotient wx 2))) |
504 | 504 | . |
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))))) | |
508 | 510 | win-size |
509 | 511 | 1 |
510 | 512 | `((background . ,cabinet:background)) |