Japanese translation of message catalog for Sawfish Window-Manager
Revision | 29cfc38423628e1e08f46c02f99e9c6855d16a78 (tree) |
---|---|
Time | 2016-05-26 13:25:22 |
Author | Jose Antonio Ortega Ruiz <jao@gnu....> |
Commiter | Jose Antonio Ortega Ruiz |
Better detection of transient windows during tilings
We were avoiding tiling transient windows such as dialogs by including
in the tile-able window list only those windows of type 'default. But
that excludes windows, such as CoreBird's, that are 'unframed. With
this patch, we check for transients via the 'transient type.
@@ -82,7 +82,7 @@ | ||
82 | 82 | (not (window-ignored-p w)) |
83 | 83 | (not (dock-window-p w)) |
84 | 84 | (not (tab-background-p w)) |
85 | - (eq (window-type w) 'default))) | |
85 | + (not (eq (window-type w) 'transient)))) | |
86 | 86 | |
87 | 87 | (define (tileable-windows #!optional ignore) |
88 | 88 | (filter tileable-window-p (tileable-workspace-windows ignore))) |
@@ -55,7 +55,7 @@ | ||
55 | 55 | ;; for pager and stuff |
56 | 56 | (not (window-visible-p w)) |
57 | 57 | ;; no dialogs |
58 | - (not (eq (window-type w) 'default)) | |
58 | + (eq (window-type w) 'transient) | |
59 | 59 | (tab-background-p w) |
60 | 60 | (window-ignored-p w))) |
61 | 61 | (window-order current-workspace))) |