Репозитории 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
Патч: 0179-transient-hack.diff
Скачать
Скачать
qt-bugs@ issue : 166027
Trolltech task ID : none
bugs.kde.org number : none
applied: no
author: Lubos Lunak <l.lunak@kde.org>
This patch is just a hackish workaround that makes setting of WM_TRANSIENT_FOR
work with some window types (needed basically by the #0178 qt-copy patch).
It is not a proper solution, waiting for TT to come up with something.
--- src/gui/kernel/qwidget_x11.cpp.sav 2007-06-06 15:29:46.000000000 +0200
+++ src/gui/kernel/qwidget_x11.cpp 2007-06-15 11:52:19.000000000 +0200
@@ -1598,7 +1598,7 @@ void QWidgetPrivate::show_sys()
do_size_hints(q, extra);
// udpate WM_TRANSIENT_FOR
- if (isTransient(q)) {
+ if (isTransient(q) && !( q->windowFlags() & Qt::X11BypassWindowManagerHint)) {
QWidget *p = q->parentWidget();
if (p)
p = p->window();