mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Use imported xC_bottom_right_corner in A.MouseResize
This commit is contained in:
parent
311994f9ef
commit
2f0e880ccd
@ -108,9 +108,6 @@ handleResize st ButtonEvent { ev_window = ew, ev_event_type = et }
|
||||
getWin _ [] = Nothing
|
||||
handleResize _ _ = return ()
|
||||
|
||||
brCursorBottomRightCorner :: Glyph
|
||||
brCursorBottomRightCorner = 14
|
||||
|
||||
createInputWindow :: ((Window,Rectangle), Maybe Rectangle) -> X ((Window,Rectangle),Maybe Window)
|
||||
createInputWindow ((w,r),mr) = do
|
||||
case mr of
|
||||
@ -118,7 +115,7 @@ createInputWindow ((w,r),mr) = do
|
||||
tw <- mkInputWindow d tr
|
||||
io $ selectInput d tw (exposureMask .|. buttonPressMask)
|
||||
|
||||
cursor <- io $ createFontCursor d brCursorBottomRightCorner
|
||||
cursor <- io $ createFontCursor d xC_bottom_right_corner
|
||||
io $ defineCursor d tw cursor
|
||||
io $ freeCursor d cursor
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user