Stuff
Some checks failed
book / deploy (push) Has been cancelled
CI / test (macos-latest) (push) Has been cancelled
CI / test (ubuntu-latest) (push) Has been cancelled
CI / test (windows-latest) (push) Has been cancelled
CI / all-doc-tests (push) Has been cancelled
CI / lint (push) Has been cancelled
Some checks failed
book / deploy (push) Has been cancelled
CI / test (macos-latest) (push) Has been cancelled
CI / test (ubuntu-latest) (push) Has been cancelled
CI / test (windows-latest) (push) Has been cancelled
CI / all-doc-tests (push) Has been cancelled
CI / lint (push) Has been cancelled
This commit is contained in:
@@ -69,7 +69,7 @@ impl Browsers {
|
||||
let browser = browser_host_create_browser_sync(
|
||||
Some(&WindowInfo {
|
||||
windowless_rendering_enabled: true as _,
|
||||
external_begin_frame_enabled: false as _,
|
||||
external_begin_frame_enabled: true as _,
|
||||
#[cfg(target_os = "macos")]
|
||||
parent_view: match _window_handle {
|
||||
Some(RawWindowHandle::AppKit(handle)) => handle.ns_view.as_ptr(),
|
||||
@@ -78,7 +78,7 @@ impl Browsers {
|
||||
Some(RawWindowHandle::Wayland(handle)) => handle.surface.as_ptr(),
|
||||
_ => std::ptr::null_mut(),
|
||||
},
|
||||
// shared_texture_enabled: true as _,
|
||||
shared_texture_enabled: false as _,
|
||||
..Default::default()
|
||||
}),
|
||||
Some(&mut self.client_handler(
|
||||
|
||||
@@ -43,7 +43,7 @@ pub fn create_cef_key_event(
|
||||
// ButtonState::Pressed if input.just_pressed(key_event.key_code) => {
|
||||
// cef_key_event_type_t::KEYEVENT_RAWKEYDOWN
|
||||
// }
|
||||
ButtonState::Pressed => cef_key_event_type_t::KEYEVENT_CHAR,
|
||||
ButtonState::Pressed => cef_key_event_type_t::KEYEVENT_RAWKEYDOWN,
|
||||
ButtonState::Released => cef_key_event_type_t::KEYEVENT_KEYUP,
|
||||
};
|
||||
let windows_key_code = keycode_to_windows_vk(key_event.key_code);
|
||||
|
||||
@@ -41,7 +41,8 @@ pub fn debug_chromium_embedded_framework_dir_path() -> PathBuf {
|
||||
.unwrap()
|
||||
.join(".local")
|
||||
.join("share")
|
||||
.join("Chromium Embedded Framework.framework")
|
||||
.join("avii")
|
||||
.join("cef")
|
||||
}
|
||||
|
||||
pub fn debug_render_process_path() -> PathBuf {
|
||||
|
||||
Reference in New Issue
Block a user