Japanese translation of message catalog for Sawfish Window-Manager
修订版 | bf256fcf514a8de620224a1206d15f02fc85b6af (tree) |
---|---|
时间 | 2010-11-12 03:37:22 |
作者 | Christopher Roy Bratusek <zanghar@free...> |
Commiter | Christopher Roy Bratusek |
frames.jl:
call window-state-changed-hook while reframing a window, updating the title-position
@@ -36,6 +36,7 @@ | ||
36 | 36 | apply-frame-style |
37 | 37 | apply-frame-style-and-save |
38 | 38 | window-type |
39 | + adjustment-title | |
39 | 40 | set-window-type |
40 | 41 | push-window-type |
41 | 42 | pop-window-type |
@@ -326,9 +327,13 @@ generate.") | ||
326 | 327 | (reload-frame-style style)))) |
327 | 328 | frame-style-files))) |
328 | 329 | |
330 | + (define (adjustment-title w) | |
331 | + (call-window-hook 'window-state-change-hook w (list '(title-position)))) | |
332 | + | |
329 | 333 | ;;; applying frame styles to windows |
330 | 334 | |
331 | 335 | (define (reframe-window w) |
336 | + (adjustment-title w) | |
332 | 337 | (if (window-get w 'ignored) |
333 | 338 | (progn |
334 | 339 | (window-put w 'current-frame-style nil) |