Remove extra key press traces for Linux (#7265)

* Remove extra key press traces for Linux

* Update ChangeLog
This commit is contained in:
Serhii Hadzhilov 2023-06-02 11:35:37 +03:00 committed by GitHub
parent 33968c6dd3
commit 5e8e874e03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View file

@ -3,6 +3,7 @@
Bug fixes:
- #7262 Fix backward compatibility for m1 and m2 builds.
- #7265 Remove extra key press traces for Linux.
Enhancements:
- #7254 Ability to bind synergy client to a network interface.

View file

@ -204,7 +204,6 @@ XWindowsKeyState::pollActiveGroup() const
XkbStateRec state;
XSync(m_display, False);
if (XkbGetState(m_display, XkbUseCoreKbd, &state) == Success) {
LOG((CLOG_WARN "LANGUAGE_DEBUG Poll result %d", state.group));
return state.group;
}
@ -297,9 +296,6 @@ XWindowsKeyState::fakeKey(const Keystroke& keystroke)
{
switch (keystroke.m_type) {
case Keystroke::kButton:
LOG((CLOG_WARN "LANGUAGE_DEBUG %03x (%08x) %s %s", keystroke.m_data.m_button.m_button, keystroke.m_data.m_button.m_client,
keystroke.m_data.m_button.m_press ? "down" : "up",
keystroke.m_data.m_button.m_repeat ? "Repeat" : "New"));
if (keystroke.m_data.m_button.m_repeat) {
int c = keystroke.m_data.m_button.m_button;
int i = (c >> 3);
@ -321,7 +317,6 @@ XWindowsKeyState::fakeKey(const Keystroke& keystroke)
}
if (keystroke.m_data.m_group.m_absolute) {
LOG((CLOG_WARN "LANGUAGE_DEBUG group %d", keystroke.m_data.m_group.m_group));
#ifndef __APPLE__
if(setCurrentLanguageWithDBus(keystroke.m_data.m_group.m_group)) {
@ -342,7 +337,6 @@ XWindowsKeyState::fakeKey(const Keystroke& keystroke)
}
}
else {
LOG((CLOG_WARN "LANGUAGE_DEBUG group %+d", keystroke.m_data.m_group.m_group));
#ifndef __APPLE__
if(setCurrentLanguageWithDBus(keystroke.m_data.m_group.m_group)) {