Skip to content

Commit

Permalink
https://github.com/rustdesk/rustdesk/issues/132#issuecomment-886069737
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk committed Jul 24, 2021
1 parent 56dfcff commit d89d5ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ fn get_msgbox() -> String {
}

pub fn start(args: &mut [String]) {
// https://github.com/c-smile/sciter-sdk/blob/master/include/sciter-x-types.h
// https://github.com/rustdesk/rustdesk/issues/132#issuecomment-886069737
#[cfg(windows)]
allow_err!(sciter::set_options(sciter::RuntimeOptions::GfxLayer(
sciter::GFX_LAYER::WARP
)));
#[cfg(windows)]
if args.len() > 0 && args[0] == "--tray" {
let mut res;
Expand Down

0 comments on commit d89d5ef

Please sign in to comment.