Просмотр исходного кода

Ignore bogus FL_MOVE events from FLTK

tags/v1.10.90
Samuel Mannehed 4 лет назад
Родитель
Сommit
6e8147eb12
1 измененных файлов: 6 добавлений и 0 удалений
  1. 6
    0
      vncviewer/DesktopWindow.cxx

+ 6
- 0
vncviewer/DesktopWindow.cxx Просмотреть файл

@@ -755,6 +755,12 @@ int DesktopWindow::fltkHandle(int event, Fl_Window *win)
{
int ret;

// FLTK keeps spamming bogus FL_MOVE events if _any_ X event is
// received with the mouse pointer outside our windows
// https://github.com/fltk/fltk/issues/76
if ((event == FL_MOVE) && (win == NULL))
return 0;

ret = Fl::handle_(event, win);

// This is hackish and the result of the dodgy focus handling in FLTK.

Загрузка…
Отмена
Сохранить