Hello,

With a method to put a window to the main screen (the screen whose the user has 
the focus), I get weird results. Here are the offending lines:

x=(w.Left-csc.frame.MinX)+nsc.frame.MinX
y=(w.Top-csc.frame.MinY)+nsc.frame.MinY

(where w is the window, csc is the screen where the window is currently and nsc 
is the “main” (target) screen)

“nsc” is simply defined as this: nsc=NSScreenMBS.mainScreen

It appears that nsc.frame.MinY equals 56. On that screen, there's only the menu 
bar at the top (the Dock is indeed on that screen, but at the bottom) so I 
don't understand where this 56 comes from.

Is that a bug or an expected value somehow?
_______________________________________________
mbsplugins@monkeybreadsoftware.info mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to