[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1318.0. "Leave Notify on full screen window" by WR2FOR::LAMB_PE (Peter Lamb - FSG Santa Clara) Tue Aug 22 1989 01:53

    I have a customer that can't understand why they are getting a leave
    notify event at the bottom of a window that is mapped as the entire
    screen (except for the right most column of pixels).  
    
    The window is mapped  (0,1023) and the customer expected that this
    would give them a leave notify event when the cursor went to the
    right most edge of the screen...  What they didn't expect was that
    they also get a leave notify when the cursor is moved to the bottom
    of the screen.
    
    The only thing that we can figure is that even though the sensitive
    part of the cursor does not leave the window somehow the leave notify
    is being generated based on the fact the most of the cursor has
    left the window (due to the slant of the cursor).
    
    For example with the normal cursor slanted like this (\) with the
    pointer at the top.  When we go to point at the bottom of the screen
    all but the very top leaves the window.  Is this what is causing
    the leave notify????
    
    Again, the window is mapped for the entire screen except the right
    edge and we don't get leave notifies for the top and left side of
    the window.
    
    Any and all ideas would be greatly appreciated,
    
    Cheers,
    
    Peter Lamb

T.RTitleUserPersonal
Name
DateLines
1318.1Possible leadsDECWIN::KLEINTue Aug 22 1989 17:1310
What are the coordinates in the Leave event?  Does the window
have a border?  If so, that may have something to do with it.
If not, it may have something to do with it anyway. Do an XGetGeometry
on the window just to make sure it has the size and position you
think it does.

That's how I'd approach it, anyway.

-steve-