Include X11 window ID in a couple of log messages
This makes it easier to use "xwininfo -id" to examine the window. No real changes.
This commit is contained in:
parent
efae3c07c2
commit
966e81bf54
1 changed files with 3 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ bool wxWebViewChromium::DoCreateBrowser(const wxString& url)
|
|||
return false;
|
||||
}
|
||||
|
||||
wxLogTrace(TRACE_CEF, "Browser created");
|
||||
wxLogTrace(TRACE_CEF, "Browser created as child of %lx", handle);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -618,6 +618,8 @@ wxWebViewChromium::~wxWebViewChromium()
|
|||
while ( !m_implData->m_calledOnBeforeClose )
|
||||
CefDoMessageLoopWork();
|
||||
#elif defined(__WXGTK__)
|
||||
wxLogTrace(TRACE_CEF, "Destroying %lx", handle);
|
||||
|
||||
// This doesn't seem to be necessary, the window gets destroyed on its
|
||||
// own when dispatching the events, but still do it as it might speed
|
||||
// up the shutdown and we can also do this if there is no active event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue