Репозитории ALT
S: | 4.8.7-alt25 |
5.1: | 4.6.3-alt1.M51.1 |
4.1: | 4.4.3-alt1.M41.1 |
4.0: | 4.3.4-alt5.M40.1 |
3.0: | 4.0.1-alt1 |
+updates: | 4.0.1-alt2 |
+backports: | 4.2.3-alt7.1.M30 |
Группа :: Система/Библиотеки
Пакет: qt4
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 9104-qt-gui-4.5.0-fix_loss_mouse_button_release_event.patch
Скачать
Скачать
diff -Naur qt-x11-opensource-src-4.5.0-beta1-orig/src/gui/kernel/qapplication_x11.cpp qt-x11-opensource-src-4.5.0-beta1/src/gui/kernel/qapplication_x11.cpp
--- qt-x11-opensource-src-4.5.0-beta1-orig/src/gui/kernel/qapplication_x11.cpp 2008-12-17 20:16:41.000000000 +0300
+++ qt-x11-opensource-src-4.5.0-beta1/src/gui/kernel/qapplication_x11.cpp 2009-01-03 18:00:28.000000000 +0300
@@ -4252,6 +4252,10 @@
}
#endif
type = QEvent::MouseButtonRelease;
+ // HACK: if recieved ButtonRelease event qt_button_down - can't be NULL, because
+ // no ButtonRelease without ButtonPress event
+ if (!qt_button_down)
+ qt_button_down = this;
}
}
mouseActWindow = effectiveWinId(); // save some event params