Browse Source

Handling left-tab keypresses on Linux.

tags/2021-05-28
jules 11 years ago
parent
commit
3fc84c2e8b
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      modules/juce_gui_basics/native/juce_linux_Windowing.cpp

+ 6
- 1
modules/juce_gui_basics/native/juce_linux_Windowing.cpp View File

@@ -1372,7 +1372,7 @@ public:
const ModifierKeys oldMods (currentModifiers);
bool keyPressed = false;
if ((sym & 0xff00) == 0xff00 || sym == XK_ISO_Left_Tab)
if ((sym & 0xff00) == 0xff00 || keyCode == XK_ISO_Left_Tab)
{
switch (sym) // Translate keypad
{
@@ -1431,6 +1431,11 @@ public:
keyCode &= 0xff;
break;
case XK_ISO_Left_Tab:
keyPressed = true;
keyCode = XK_Tab & 0xff;
break;
default:
if (sym >= XK_F1 && sym <= XK_F16)
{


Loading…
Cancel
Save