[gnome-control-center/wip/carlosg/calibrator-fixes: 43/45] wacom: Allow NULL monitors in calibration




commit 3f12a7d2cba903ba6f0b7c3c3b2176a9d7387d87
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Feb 12 14:42:57 2022 +0100

    wacom: Allow NULL monitors in calibration
    
    Unfortunately, this may be the case, it is better to show wonky UI
    than no UI at all.

 panels/wacom/cc-wacom-page.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 0753e6e8f..ad4c569ed 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -278,8 +278,7 @@ calibrate (CcWacomPage *page)
                /* The display the tablet should be mapped to could not be located.
                 * This shouldn't happen if the EDID data is good...
                 */
-               g_critical("Output associated with the tablet is not connected. Unable to calibrate.");
-               return;
+               g_critical("Output associated with the tablet is not connected. Calibration may appear in 
wrong monitor.");
        }
 
        old_calibration = g_settings_get_value (page->wacom_settings, "area");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]