mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-05 20:54:21 +01:00
DisplayServer: prepare for DDC/CI
This commit is contained in:
@@ -53,7 +53,8 @@ static void parseDRM(FFDisplayServerResult* result)
|
||||
0,
|
||||
&name,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
false
|
||||
false,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -187,7 +187,8 @@ static void waylandOutputHandler(WaylandData* wldata, struct wl_registry* regist
|
||||
rotation,
|
||||
&display.name,
|
||||
display.type,
|
||||
false
|
||||
false,
|
||||
0
|
||||
);
|
||||
|
||||
ffThreadMutexUnlock(&mutex);
|
||||
|
||||
@@ -128,7 +128,8 @@ void ffdsConnectXcb(FFDisplayServerResult* result)
|
||||
0,
|
||||
NULL,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
false
|
||||
false,
|
||||
0
|
||||
);
|
||||
ffxcb_screen_next(&iterator);
|
||||
}
|
||||
@@ -198,7 +199,8 @@ static bool xcbRandrHandleModeInfo(XcbRandrData* data, xcb_randr_mode_info_t* mo
|
||||
rotation,
|
||||
name,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
primary
|
||||
primary,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
@@ -255,7 +257,8 @@ static bool xcbRandrHandleCrtc(XcbRandrData* data, xcb_randr_crtc_t crtc, FFstrb
|
||||
rotation,
|
||||
name,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
primary
|
||||
primary,
|
||||
0
|
||||
);
|
||||
|
||||
free(crtcInfoReply);
|
||||
@@ -315,7 +318,8 @@ static bool xcbRandrHandleMonitor(XcbRandrData* data, xcb_randr_monitor_info_t*
|
||||
0,
|
||||
&name,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
!!monitor->primary
|
||||
!!monitor->primary,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
@@ -379,7 +383,8 @@ static void xcbRandrHandleScreen(XcbRandrData* data, xcb_screen_t* screen)
|
||||
0,
|
||||
NULL,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
false
|
||||
false,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,8 @@ void ffdsConnectXlib(FFDisplayServerResult* result)
|
||||
0,
|
||||
NULL,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
false
|
||||
false,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
@@ -184,7 +185,8 @@ static bool xrandrHandleCrtc(XrandrData* data, RRCrtc crtc, bool primary)
|
||||
rotation,
|
||||
NULL,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
primary
|
||||
primary,
|
||||
0
|
||||
);
|
||||
|
||||
data->ffXRRFreeCrtcInfo(crtcInfo);
|
||||
@@ -224,7 +226,8 @@ static bool xrandrHandleMonitor(XrandrData* data, XRRMonitorInfo* monitorInfo)
|
||||
0,
|
||||
NULL,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
!!monitorInfo->primary
|
||||
!!monitorInfo->primary,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
@@ -282,7 +285,8 @@ static void xrandrHandleScreen(XrandrData* data, Screen* screen)
|
||||
0,
|
||||
NULL,
|
||||
FF_DISPLAY_TYPE_UNKNOWN,
|
||||
false
|
||||
false,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user