mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 22:22:00 -07:00
lower IME errors to WARNs
This commit is contained in:
@@ -301,7 +301,7 @@ void CInputMethodRelay::createNewTextInput(wlr_text_input_v3* pInput) {
|
|||||||
const auto PINPUT = (STextInput*)owner;
|
const auto PINPUT = (STextInput*)owner;
|
||||||
|
|
||||||
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
||||||
Debug::log(ERR, "Enabling TextInput on no IME!");
|
Debug::log(WARN, "Enabling TextInput on no IME!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -317,12 +317,12 @@ void CInputMethodRelay::createNewTextInput(wlr_text_input_v3* pInput) {
|
|||||||
const auto PINPUT = (STextInput*)owner;
|
const auto PINPUT = (STextInput*)owner;
|
||||||
|
|
||||||
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
||||||
Debug::log(ERR, "Committing TextInput on no IME!");
|
Debug::log(WARN, "Committing TextInput on no IME!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!PINPUT->pWlrInput->current_enabled) {
|
if (!PINPUT->pWlrInput->current_enabled) {
|
||||||
Debug::log(ERR, "Disabled TextInput commit?");
|
Debug::log(WARN, "Disabled TextInput commit?");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -335,7 +335,7 @@ void CInputMethodRelay::createNewTextInput(wlr_text_input_v3* pInput) {
|
|||||||
const auto PINPUT = (STextInput*)owner;
|
const auto PINPUT = (STextInput*)owner;
|
||||||
|
|
||||||
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
||||||
Debug::log(ERR, "Disabling TextInput on no IME!");
|
Debug::log(WARN, "Disabling TextInput on no IME!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -352,7 +352,7 @@ void CInputMethodRelay::createNewTextInput(wlr_text_input_v3* pInput) {
|
|||||||
const auto PINPUT = (STextInput*)owner;
|
const auto PINPUT = (STextInput*)owner;
|
||||||
|
|
||||||
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
if (!g_pInputManager->m_sIMERelay.m_pWLRIME) {
|
||||||
Debug::log(ERR, "Disabling TextInput on no IME!");
|
Debug::log(WARN, "Disabling TextInput on no IME!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user