Skip to content
Snippets Groups Projects
Commit 95f3bf12 authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

common: There might be no primary monitor


Bug: 15852

The function `xfwm_get_primary_monitor_geometry()` assumes there is
always a primary monitor, which is not true if no monitor is connected,
in which case the size is not meaningful.

Make `xfwm_get_primary_monitor_geometry()` return a boolean value that
can be used by the caller to determine if the reported size is
meaningless.

Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
(cherry picked from commit 699c0aeb)
parent 91133dfb
No related branches found
No related tags found
Loading
Loading
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