al_get_window_position doesn't work
Matej Å tajduhar

EDIT: It works perfectly, guess what that makes me:
{"name":"dumbass.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/8\/e8f0619162a1983de185c48b12149673.jpg","w":446,"h":471,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/8\/e8f0619162a1983de185c48b12149673"}dumbass.jpg

Thanks to the guy below! xD

(I'm too embarassed to leave this visible.)

Trent Gamblin

What are you expecting? Are you moving the window? If not then it would give the same number each time. If you're trying to find the mouse coordinate in the window use al_get_mouse_xy (EDIT: that function doesn't exist, you need al_get_mouse_state.) Otherwise I don't see how it's related to that other thread (which was fixed, at least a fix was committed but if it's wrong we'd like to know.)

Thread #612758. Printed from Allegro.cc