ports/devel/electron31/files/patch-ui_base_x_x11__util.h
Hiroki Tagato f972de2bb9 devel/electron31: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-07-19 17:07:07 +09:00

13 lines
472 B
C

--- ui/base/x/x11_util.h.orig 2024-02-21 00:21:15 UTC
+++ ui/base/x/x11_util.h
@@ -256,6 +256,10 @@ gfx::ImageSkia GetNativeWindowIcon(intptr_t target_win
COMPONENT_EXPORT(UI_BASE_X)
gfx::ImageSkia GetNativeWindowIcon(intptr_t target_window_id);
+// Returns the ICCProfile corresponding to |monitor| using XGetWindowProperty.
+COMPONENT_EXPORT(UI_BASE_X)
+gfx::ICCProfile GetICCProfileForMonitor(int monitor);
+
} // namespace ui
#endif // UI_BASE_X_X11_UTIL_H_