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))
업데이트 :
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
:이 "(1 내지 7 %)"와 xwininfo의 출력 인
그리고 매개 변수를 somet으로 변경 한 후에도 출력이 동일하게 유지됩니다. 기타 힌지.
"해당 창"- 어떤 창입니까? –
채팅 창. – GiftZwergrapper
커맨드 라인에서이 커맨드를 실행하고 윈도우를 클릭하면'xwininfo'가 출력하는 질문을 수정할 수 있습니까? –