[xmonad] darcs patch: Decoration: add a mouseEventHook methohd... (and 2 more)

Andrea Rossato andrea.rossato at unibz.it
Fri Feb 8 07:49:12 EST 2008


On Fri, Feb 08, 2008 at 12:49:09PM +0100, Andrea Rossato wrote:
> The problem is that focus change, here, seems to be broken: the focus
> changes but the decoration colors do not, as if the decoration state
> was not being updated. I thought that could be related to issue #111
> (by reading David's patch description) and I changed broadcastMessage
> to sendMessage in Main.handle. Still I didn't notice any effect (but I
> need to double check since perhaps I'm messing up my source trees).

it was me messing up my trees, indeed. I just checked and focus change
works just fine here. so my patches seem not to be breaking anything
and I'm going to push if no problem arises.

> One more thing: now, when I start dragging I do not calculate the
> distance between the mouse and the origin of the window, and so, at
> first, the window origin will abruptly change to reflect the mouse
> position. I know it's probably just a line of code but I didn't write
> it so far...

should be easy (but my first attempt did not produce nice results: the
window jumped out of the screen... maybe something wrong with my
math...;)

Andrea


More information about the xmonad mailing list