mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-12 09:51:28 +03:00
better support for win7
This commit is contained in:
@@ -13,6 +13,7 @@ use winapi::{
|
||||
BITMAPINFO,
|
||||
BITMAPINFOHEADER,
|
||||
BI_RGB,
|
||||
CAPTUREBLT,
|
||||
DIB_RGB_COLORS, //CAPTUREBLT,
|
||||
HGDI_ERROR,
|
||||
RGBQUAD,
|
||||
@@ -97,7 +98,7 @@ impl CapturerGDI {
|
||||
self.screen_dc,
|
||||
0,
|
||||
0,
|
||||
SRCCOPY, // | CAPTUREBLT, // CAPTUREBLT enable layered window but also make cursor blinking
|
||||
SRCCOPY | CAPTUREBLT, // CAPTUREBLT enable layered window but also make cursor blinking
|
||||
);
|
||||
if res == 0 {
|
||||
return Err("Failed to copy screen to Windows buffer".into());
|
||||
|
||||
Reference in New Issue
Block a user