I have the mouse pointer location from
Point loc = PointToScreen(Mouse.GetPosition(this));
new SecondWindow() { Owner = this, Left = loc.X, Top = loc.Y }.ShowDialog();
to get X and Y coordinates. I have to open the new window at the exact position of the mouse, but there is a very very noticeable offset for both Left and Top Properties of the window startup location.
Any idea or/and solution why is it happening??