initial commit
This commit is contained in:
commit
9d20827c46
2469 changed files with 470994 additions and 0 deletions
19
qt-patches/007-win-4.4-YaWindow minimize fix.patch
Normal file
19
qt-patches/007-win-4.4-YaWindow minimize fix.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff -urN qt-all-opensource-src-4.3.5.orig/src/gui/kernel/qwidget_win.cpp qt-all-opensource-src-4.3.5/src/gui/kernel/qwidget_win.cpp
|
||||
--- qt-all-opensource-src-4.3.5.orig/src/gui/kernel/qwidget_win.cpp 2008-05-26 13:06:56.000000000 +0400
|
||||
+++ qt-all-opensource-src-4.3.5/src/gui/kernel/qwidget_win.cpp 2008-09-04 18:24:04.000000000 +0400
|
||||
@@ -260,11 +260,15 @@
|
||||
if (popup)
|
||||
flags |= Qt::WindowStaysOnTopHint; // a popup stays on top
|
||||
|
||||
+// mblsha: we disable this in order to get truly borderless windows
|
||||
+// that could be minimized via taskbar button clicking
|
||||
+#if 0
|
||||
if (flags & (Qt::WindowMinMaxButtonsHint | Qt::WindowContextHelpButtonHint)) {
|
||||
flags |= Qt::WindowSystemMenuHint;
|
||||
flags |= Qt::WindowTitleHint;
|
||||
flags &= ~Qt::FramelessWindowHint;
|
||||
}
|
||||
+#endif
|
||||
|
||||
if (sw < 0) { // get the (primary) screen size
|
||||
sw = GetSystemMetrics(SM_CXSCREEN);
|
||||
Reference in a new issue