display: don't allow setting primary on off displays
This commit is contained in:
parent
9cd6ecac9f
commit
3f054a856e
1 changed files with 2 additions and 1 deletions
|
@ -1569,6 +1569,7 @@ on_output_event (FooScrollArea *area,
|
|||
|
||||
if (event->type == FOO_DRAG_HOVER)
|
||||
{
|
||||
if (output->on)
|
||||
set_primary_output (app, output);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue