Remove extra key press traces for Linux (#7265)
* Remove extra key press traces for Linux * Update ChangeLog
This commit is contained in:
parent
33968c6dd3
commit
5e8e874e03
2 changed files with 1 additions and 6 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
- #7262 Fix backward compatibility for m1 and m2 builds.
|
- #7262 Fix backward compatibility for m1 and m2 builds.
|
||||||
|
- #7265 Remove extra key press traces for Linux.
|
||||||
|
|
||||||
Enhancements:
|
Enhancements:
|
||||||
- #7254 Ability to bind synergy client to a network interface.
|
- #7254 Ability to bind synergy client to a network interface.
|
||||||
|
|
|
||||||
|
|
@ -204,7 +204,6 @@ XWindowsKeyState::pollActiveGroup() const
|
||||||
XkbStateRec state;
|
XkbStateRec state;
|
||||||
XSync(m_display, False);
|
XSync(m_display, False);
|
||||||
if (XkbGetState(m_display, XkbUseCoreKbd, &state) == Success) {
|
if (XkbGetState(m_display, XkbUseCoreKbd, &state) == Success) {
|
||||||
LOG((CLOG_WARN "LANGUAGE_DEBUG Poll result %d", state.group));
|
|
||||||
return state.group;
|
return state.group;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -297,9 +296,6 @@ XWindowsKeyState::fakeKey(const Keystroke& keystroke)
|
||||||
{
|
{
|
||||||
switch (keystroke.m_type) {
|
switch (keystroke.m_type) {
|
||||||
case Keystroke::kButton:
|
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) {
|
if (keystroke.m_data.m_button.m_repeat) {
|
||||||
int c = keystroke.m_data.m_button.m_button;
|
int c = keystroke.m_data.m_button.m_button;
|
||||||
int i = (c >> 3);
|
int i = (c >> 3);
|
||||||
|
|
@ -321,7 +317,6 @@ XWindowsKeyState::fakeKey(const Keystroke& keystroke)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keystroke.m_data.m_group.m_absolute) {
|
if (keystroke.m_data.m_group.m_absolute) {
|
||||||
LOG((CLOG_WARN "LANGUAGE_DEBUG group %d", keystroke.m_data.m_group.m_group));
|
|
||||||
|
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
if(setCurrentLanguageWithDBus(keystroke.m_data.m_group.m_group)) {
|
if(setCurrentLanguageWithDBus(keystroke.m_data.m_group.m_group)) {
|
||||||
|
|
@ -342,7 +337,6 @@ XWindowsKeyState::fakeKey(const Keystroke& keystroke)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOG((CLOG_WARN "LANGUAGE_DEBUG group %+d", keystroke.m_data.m_group.m_group));
|
|
||||||
|
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
if(setCurrentLanguageWithDBus(keystroke.m_data.m_group.m_group)) {
|
if(setCurrentLanguageWithDBus(keystroke.m_data.m_group.m_group)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue