• 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

Revision29cfc38423628e1e08f46c02f99e9c6855d16a78 (tree)
Time2016-05-26 13:25:22
AuthorJose Antonio Ortega Ruiz <jao@gnu....>
CommiterJose Antonio Ortega Ruiz

Log Message

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.

Change Summary

Incremental Difference

--- a/lisp/sawfish/wm/tile/tiler.jl
+++ b/lisp/sawfish/wm/tile/tiler.jl
@@ -82,7 +82,7 @@
8282 (not (window-ignored-p w))
8383 (not (dock-window-p w))
8484 (not (tab-background-p w))
85- (eq (window-type w) 'default)))
85+ (not (eq (window-type w) 'transient))))
8686
8787 (define (tileable-windows #!optional ignore)
8888 (filter tileable-window-p (tileable-workspace-windows ignore)))
--- a/lisp/sawfish/wm/tile/utils.jl
+++ b/lisp/sawfish/wm/tile/utils.jl
@@ -55,7 +55,7 @@
5555 ;; for pager and stuff
5656 (not (window-visible-p w))
5757 ;; no dialogs
58- (not (eq (window-type w) 'default))
58+ (eq (window-type w) 'transient)
5959 (tab-background-p w)
6060 (window-ignored-p w)))
6161 (window-order current-workspace)))