display: don't allow setting primary on off displays

This commit is contained in:
William Jon McCann 2010-11-22 21:54:51 -05:00
parent 9cd6ecac9f
commit 3f054a856e

View file

@ -1569,6 +1569,7 @@ on_output_event (FooScrollArea *area,
if (event->type == FOO_DRAG_HOVER)
{
if (output->on)
set_primary_output (app, output);
return;
}