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

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
lazi
Posts: 646
Joined: Thu Feb 24, 2011 11:08 pm

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

Post 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?
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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?
Locked