Skip to content
Snippets Groups Projects
Commit aec5a8c5 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

PhoshMonitor: properly detect current mode

parent 4e539f70
No related branches found
No related tags found
1 merge request!95Use current mode
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment