Couldn match expected type Window against inferred type In the express

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
Couldn't match expected type `Window -> X ()'
against inferred type `X ()'
In the expression:
(withFocused
$ \ w -> bindOnExcept "mics" (mouseGesture gestures2 w))
In the expression:
((0, button3),
(withFocused
$ \ w -> bindOnExcept "mics" (mouseGesture gestures2 w)))
In the second argument of `($)', namely
`[((modMask, button2), mouseGesture gestures),
((0, button3),
(withFocused
$ \ w -> bindOnExcept "mics" (mouseGesture gestures2 w)))]'