[Kernel] Fixed incorrect amount of propagated notifications on boot
- Created dedicated method: IsUIActive
This commit is contained in:
committed by
Radosław Gliński
parent
7e1506ff23
commit
4dd0842087
@@ -107,7 +107,7 @@ dword_result_t XamInputGetState_entry(dword_t user_index, dword_t flags,
|
||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
}
|
||||
|
||||
if (kernel_state()->xam_state()->xam_dialogs_shown_ > 0) {
|
||||
if (kernel_state()->xam_state()->IsUIActive()) {
|
||||
return X_ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -181,7 +181,7 @@ dword_result_t XamInputGetKeystrokeEx_entry(
|
||||
|
||||
keystroke.Zero();
|
||||
|
||||
if (kernel_state()->xam_state()->xam_dialogs_shown_ > 0) {
|
||||
if (kernel_state()->xam_state()->IsUIActive()) {
|
||||
return X_ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user