Don't re-select the current output when flipping workspaces

Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=9187
This commit is contained in:
Federico Mena Quintero 2009-01-07 23:28:08 +00:00 committed by Federico Mena Quintero
parent fabb6bd6dc
commit 262658abc5
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-12-18 Federico Mena Quintero <federico@novell.com>
* xrandr-capplet.c (get_output_for_window): Include "off" outputs
in the intersected rectangles. This makes the capplet not select
a new output when changing virtual desktops.
2008-12-18 Federico Mena Quintero <federico@novell.com>
https://bugzilla.novell.com/show_bug.cgi?id=433939 - It's not

View file

@ -1854,7 +1854,7 @@ get_output_for_window (GnomeRRConfig *configuration, GdkWindow *window)
output_rect.width = output->width;
output_rect.height = output->height;
if (output->connected && output->on && gdk_rectangle_intersect (&win_rect, &output_rect, &intersection))
if (output->connected && gdk_rectangle_intersect (&win_rect, &output_rect, &intersection))
{
int area;