Skip to content
Commit de36d51b authored by Ray Strode's avatar Ray Strode
Browse files

screen: fix meta_screen_get_monitor_for_rect for 0x0 rects

meta_screen_get_monitor_for_rect will return the monitor that
a given rect belongs in (choosing the "best" monitor based on
overlap, if there are overlapping monitors).

It doesn't work with 0x0 rects, though.

This commit fixes that.

https://bugzilla.gnome.org/show_bug.cgi?id=694725
parent e6d5e98c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment