https://bugs.winehq.org/show_bug.cgi?id=38154
Bug ID: 38154 Summary: Get screenshot from Desktop, problem in Mac OS Product: Wine Version: 1.7.30 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: den.aria@gmail.com
Hello! I can't make a screenshot from desktop in MAc OS, i start my app with winebottler and CrossOver. But in linux (ubuntu) its work ok
Code example var DesktopHwnd: HWND; DesktopDC, FormDC: HDC; begin // DesktopHwnd := GetDesktopWindow; DesktopDC := GetWindowDC(DesktopHwnd); FormDC := Form1.Canvas.Handle; BitBlt(FormDC, 0, 0, Form1.Width, Form1.Height, DesktopDC, 0, 0, SRCCOPY); end;
problem only in Mac OS
https://bugs.winehq.org/show_bug.cgi?id=38154
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |ken@codeweavers.com Ever confirmed|0 |1
--- Comment #1 from Ken Thomases ken@codeweavers.com --- Yeah, this isn't implemented in the Mac driver. You can try the X11 driver to see if it works there. Using regedit, set:
[HKEY_CURRENT_USER\Software\Wine\Drivers] "Graphics"="x11,mac"
https://bugs.winehq.org/show_bug.cgi?id=38154
--- Comment #2 from den123 den.aria@gmail.com --- I open regedit and was not find the key [HKEY_CURRENT_USER\Software\Wine\Drivers]
But there have [HKEY_CURRENT_USER\Software\Wine\x11 Driver] ShowSystray = false
x11 is already enabled?
https://bugs.winehq.org/show_bug.cgi?id=38154
--- Comment #3 from Ken Thomases ken@codeweavers.com --- (In reply to den123 from comment #2)
I open regedit and was not find the key [HKEY_CURRENT_USER\Software\Wine\Drivers]
You need to create the missing key using the New > Key menu.
But there have [HKEY_CURRENT_USER\Software\Wine\x11 Driver] ShowSystray = false
x11 is already enabled?
No, the existence of that key does not indicate the X11 driver is enabled.