[AD] [ alleg-Bugs-3019046 ] al_get_window_position in X11 not working

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #3019046, was opened at 2010-06-21 22:21
Message generated for change (Comment added) made by tjaden
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3019046&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core Library
Group: 4.9
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Elias Pschernig (elias)
Assigned to: Nobody/Anonymous (nobody)
Summary: al_get_window_position in X11 not working

Initial Comment:
al_get_window_position does not work right under X11: http://www.allegro.cc/forums/thread/604400 

----------------------------------------------------------------------

>Comment By: Peter Wang (tjaden)
Date: 2010-07-16 12:17

Message:
   /* This ignores the event when changing the border (which has bogus
    * coordinates).
    */
   if (xevent->xconfigure.send_event) {
      glx->x = xevent->xconfigure.x;
      glx->y = xevent->xconfigure.y;
   }

It's ignoring the event so (sometimes) glx->x and glx->y don't get
updated.
What does changing the border refer to? 

----------------------------------------------------------------------

Comment By: Elias Pschernig (elias)
Date: 2010-07-16 03:39

Message:
The line numbers there are out of date... what was the problem?

----------------------------------------------------------------------

Comment By: Peter Wang (tjaden)
Date: 2010-07-15 22:45

Message:
The problem was found in:
http://www.allegro.cc/forums/thread/604400/872674#target

Elias, do you remember what that border stuff was about?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3019046&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/