Page 1 of 1

[12 Nov 2006] mouse handling on a "moved behind" screen

Posted: Sat Jun 13, 2020 5:31 pm
by lazi
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 12 Nov 2006 15:15:31 +0100

Hi!

Another founding... :)

If the Hollywood screen is moved behind e.g. the Workbench screen, the script continues to receive mouse movements and act as it would on a frontmost screen.

Is there any reason for this, what I could not imagine?

[12 Nov 2006] Re: mouse handling on a "moved behind" screen

Posted: Sat Jun 13, 2020 5:31 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 12 Nov 2006 23:14:50 +0100
Hi!

Another founding... :)

If the Hollywood screen is moved behind e.g. the Workbench screen, the script continues to receive mouse movements and act as it would on a frontmost screen.

Is there any reason for this, what I could not imagine?
Intuition sends IDCMP_MOUSEMOVE to the window while it is active. The Hollywood window can still be active even if the screen is behind other screens. Thus, the behaviour is normal.

I could add a check to suppress messages if the Hollywood window is active, but not visible, but I don't think it makes too much sense. I think the current implementation is ok or does that behaviour somehow impede your script?