Commit aec5a8c5 authored by Guido Gunther's avatar Guido Gunther

PhoshMonitor: properly detect current mode

parent 4e539f70
......@@ -100,7 +100,7 @@ output_handle_mode (void *data,
if (height > self->height)
self->height = height;
if ((flags & WL_OUTPUT_MODE_CURRENT) == 0)
if ((flags & WL_OUTPUT_MODE_CURRENT) == 1)
self->current_mode = self->modes->len - 1;
}
......
Markdown is supported
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