MCPcopy Create free account
hub / github.com/cztomczak/cefpython / InstallX11ErrorHandlers

Function InstallX11ErrorHandlers

src/client_handler/x11.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void InstallX11ErrorHandlers() {
27 // Copied from upstream cefclient.
28 // Install xlib error handlers so that the application won't be terminated
29 // on non-fatal errors. Must be done after initializing GTK.
30 LOG(INFO) << "[Browser process] Install X11 error handlers";
31 XSetErrorHandler(XErrorHandlerImpl);
32 XSetIOErrorHandler(XIOErrorHandlerImpl);
33}
34
35void SetX11WindowBounds(CefRefPtr<CefBrowser> browser,
36 int x, int y, int width, int height) {

Callers 2

CefBrowser_GetGtkWindowFunction · 0.85
GetPrintHandlerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected