@@ -813,7 +813,8 @@ def CreateBrowserSync(windowInfo=None,
813813 cef_window.get().RequestFocus()
814814 windowInfo = WindowInfo()
815815 windowInfo.SetAsChild(cef_window.get().GetWindowHandle())
816- Debug("CefWindow handle = "+str(cef_window.get().GetWindowHandle()))
816+ Debug("CefWindow handle = "
817+ +str(<uintptr_t>cef_window.get().GetWindowHandle()))
817818 """
818819
819820 # Only title was set in hello_world.py example
@@ -881,7 +882,7 @@ def CreateBrowserSync(windowInfo=None,
881882 Debug(" CefBrowser::CreateBrowserSync() succeeded" )
882883
883884 Debug(" CefBrowser window handle = "
884- + str (cefBrowser.get().GetHost().get().GetWindowHandle()))
885+ + str (< uintptr_t > cefBrowser.get().GetHost().get().GetWindowHandle()))
885886
886887 # Request context - part 2/2.
887888 if g_applicationSettings[" unique_request_context_per_browser" ]:
@@ -910,7 +911,8 @@ def CreateBrowserSync(windowInfo=None,
910911 x11.SetX11WindowTitle(cefBrowser,
911912 PyStringToChar(windowInfo.windowName))
912913 ELIF UNAME_SYSNAME == " Darwin" :
913- pass
914+ MacSetWindowTitle(cefBrowser,
915+ PyStringToChar(windowInfo.windowName))
914916
915917 return pyBrowser
916918
0 commit comments