mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
update window code style
This commit is contained in:
parent
e7f841be68
commit
22fbae18dd
@ -68,7 +68,7 @@ void set_active(const MData win){
|
||||
DWORD dwProcessId = 0;
|
||||
GetWindowThreadProcessId(hWnd, &dwProcessId);
|
||||
|
||||
if(dwProcessId == pInfo->dwPid){
|
||||
if(dwProcessId == pInfo->dwPid) {
|
||||
pInfo->hWnd = hWnd;
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -298,9 +298,9 @@ void initWindow(uintptr handle){
|
||||
|
||||
bool IsValid(){
|
||||
initWindow(initHandle);
|
||||
if(!IsAxEnabled(true)){
|
||||
printf("%s\n", "Window:Accessibility API is disabled!\n
|
||||
Failed to enable access for assistive devices.");
|
||||
if (!IsAxEnabled(true)) {
|
||||
printf("%s\n", "Window:Accessibility API is disabled!\n"
|
||||
"Failed to enable access for assistive devices.");
|
||||
}
|
||||
MData actdata = GetActive();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user