bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21173: 25.0.50; New frames positioned off screen with multiple monit


From: martin rudalics
Subject: bug#21173: 25.0.50; New frames positioned off screen with multiple monitors
Date: Sat, 01 Aug 2015 17:49:57 +0200

> Function x_calc_absolute_position does not account for the fact
> that my left monitor's left offsets are negative.  I believe that
> is the root of the bug.

If `display-monitor-attributes-list' returns the correct geometry values
it shouldn't be too hard to fix this.  That is, after the final
calculation of f->left_pos in x_calc_absolute_position subtract from it
the value (if negative) of whatever w32_display_monitor_attributes_list
returns as first value in `geometry' and from f->top_pos the second
value.  I can't test this here so it makes little sense to code it.

If you see the problem elsewhere too, we should probably postpone the
adjustment sketched above to my_set_window_pos in w32term.c.

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]