2016-09-15 2 views
1

xmonadとXMonad.Layout.IMモジュールに問題があります。 レイアウトには以下の設定があり、 "withIM"のパラメータを変更しても、ウィンドウは常に同じサイズのままです。xmonadレイアウトwithIMは同じサイズのままです

構成:

38 import XMonad.Layout.IM 
    39 import XMonad.Layout.Grid 
    40 import XMonad.Layout.FixedColumn 
    41 import XMonad.Layout.Reflect 
    42 import XMonad.Layout.ThreeColumns 
    43 import Data.Ratio ((%)) 

...

62 sPx = 1 
    63 
    64 verticalLayout = spacing sPx $ avoidStruts $ reflectHoriz $ Tall 1 0.03 0.5 
    65 verticalLayoutLargeScreen = spacing sPx $ avoidStruts $ ThreeCol 1 0.03 0.5 
    66 horizontalLayout = spacing sPx $ avoidStruts $ Mirror $ Tall 1 0.03 0.5 
    67 webdevLayout = spacing sPx $ avoidStruts $ Tall 1 0.03 0.63 
    68 fullscreenLayout = noBorders $ fullscreenFull $ Full 
    69 
    70 myLayout = 
    71  onWorkspace "2:web" (webdevLayout ||| fullscreenLayout) $ reflectHoriz $ 
    72      (withIM (1%7) (ClassName "Chat") 
    73      (verticalLayoutLargeScreen ||| Grid ||| Full ||| 
    74      verticalLayout ||| horizontalLayout ||| fullscreenLayout)) 

更新: これは "(1%7)" とxwininfoの出力である:

xwininfo: Window id: 0x1400006 "Profanity" 

Absolute upper-left X: 3360 
Absolute upper-left Y: 0 
Relative upper-left X: 3360 
Relative upper-left Y: 0 
Width: 232 
Height: 1042 
Depth: 32 
Visual: 0x7a 
Visual Class: TrueColor 
Border width: 4 
Class: InputOutput 
Colormap: 0x1400005 (not installed) 
Bit Gravity State: NorthWestGravity 
Window Gravity State: NorthWestGravity 
Backing Store State: NotUseful 
Save Under State: no 
Map State: IsViewable 
Override Redirect State: no 
Corners: +3360+0 -0+0 -0-30 +3360-30 
-geometry 32x74-0+0 

また、パラメータをsometに変更しても出力は同じままですその他のヒンジ。

+0

"そのウィンドウ" - どのウィンドウ? –

+0

チャットのウィンドウ。 – GiftZwergrapper

+0

コマンドラインでこのコマンドを実行してからウィンドウをクリックすると、 'xwininfo'が表示する出力で質問を修正できますか? –

答えて

1

私は同じ問題を抱えていましたが、解決策は非常に簡単です:合理的なパラメータ(例えば1%7または3%7、...)を変更した後でPCを再起動してください:)

+0

ありがとう、それは私の問題を解決しました。 – GiftZwergrapper

関連する問題