> WM_NORMAL_HINTS(WM_SIZE_HINTS):
>                 program specified location: 278, 241
>                 program specified size: 1054 by 743
>                 window gravity: NorthWest


this is the baffling bit.  Blackbox is doing EXACTLY what the program asked it
to do.  These hints are set when the program is first launched before blackbox
can touch them.  So near as I can tell, we are doing just what we are supposed
to do.

In the application it goes like this:

create a window, specifiy a x,y coordinate and the width and height
// occasionally the size or position is specified after window creation but
// before the mapping
map window

when the map window step occurs blackbox receives a notification of a new
window.  It does:

receive map request
query new window's hints
apply hints to the window frame it creates
place window in the new frame

By the time the map request is made all of the size hints are established.

Reply via email to