瀏覽代碼

Remove no longer functional workaround

This workaround is no longer effective with the new system handler
method of handling keyboard events. The bug has also been fixed
in upstream FLTK, further making it pointless.
tags/v1.4.90
Pierre Ossman 9 年之前
父節點
當前提交
4cf2d3a621
共有 1 個檔案被更改,包括 0 行新增9 行删除
  1. 0
    9
      vncviewer/DesktopWindow.cxx

+ 0
- 9
vncviewer/DesktopWindow.cxx 查看文件

@@ -387,15 +387,6 @@ int DesktopWindow::handle(int event)
}
// Continue processing so that the viewport also gets mouse events
break;

case FL_SHORTCUT:
// Sometimes the focus gets out of whack and we fall through to the
// shortcut dispatching. Try to make things sane again...
if (Fl::focus() == NULL) {
take_focus();
Fl::handle(FL_KEYDOWN, this);
}
return 1;
}

return Fl_Window::handle(event);

Loading…
取消
儲存