diff options
| author | Michael Palimaka <kensington@astralcloak.net> | 2012-04-11 21:22:31 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@astralcloak.net> | 2012-04-11 21:22:31 +1000 |
| commit | aa15db48d90fc1cd3520639fa045d229ed9ac41c (patch) | |
| tree | ca18b66272a335cfb0b15705cb20d224ad0c5b8b | |
| parent | 2d3203c2525a2df86adcb183ddb5da933680e2b3 (diff) | |
| download | kde-aa15db48d90fc1cd3520639fa045d229ed9ac41c.tar.gz kde-aa15db48d90fc1cd3520639fa045d229ed9ac41c.tar.bz2 kde-aa15db48d90fc1cd3520639fa045d229ed9ac41c.zip | |
[kde-base/konsole] Remove unused patch for issue fixed upstream.
(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)
| -rw-r--r-- | kde-base/konsole/files/konsole-4.6.4-imagesize.patch | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/kde-base/konsole/files/konsole-4.6.4-imagesize.patch b/kde-base/konsole/files/konsole-4.6.4-imagesize.patch deleted file mode 100644 index 03fb8c97913..00000000000 --- a/kde-base/konsole/files/konsole-4.6.4-imagesize.patch +++ /dev/null @@ -1,70 +0,0 @@ -Make sure the imageSizeChanged signal is emitted at least once. - -Without this patch, the shell or other app might have a wrong idea as to the -size of the terminal, because the size has never explicitely been set. - -This patch uses a boolean flag, to make sure the signal gets emitted at -least once. An alternative would be to change the default screen sizes. -One could either choose 24x80 as the default screen size, as this is what -most apps expect, or 1x1, as this is almost certainly different from any -screen size actually used. The first approach relies on defaults which need -not be fixed, and should therefore be avoided. Both approaches force a -resize of the screens created in the constructor, which is some overhead I'd -like to avoid. Neither one bool of data nor the added control structures -seems expensive enough to discourage this approach. - -https://bugs.kde.org/show_bug.cgi?id=176902 -https://bugs.gentoo.org/show_bug.cgi?id=357945 -https://bugzilla.redhat.com/show_bug.cgi?id=477359 - -2011-04-06 Patch by Martin von Gagern -based on ideas from Kurt V. Hindenburg and Jonathan Wakely - -Index: konsole-4.6.1/konsole/src/Emulation.cpp -=================================================================== ---- konsole-4.6.1.orig/konsole/src/Emulation.cpp -+++ konsole-4.6.1/konsole/src/Emulation.cpp -@@ -55,7 +55,8 @@ Emulation::Emulation() : - _codec(0), - _decoder(0), - _keyTranslator(0), -- _usesMouse(false) -+ _usesMouse(false), -+ _imageSizeSet(false) - { - // create screens with a default size - _screen[0] = new Screen(40,80); -@@ -344,12 +345,20 @@ void Emulation::setImageSize(int lines, - QSize newSize(columns,lines); - - if (newSize == screenSize[0] && newSize == screenSize[1]) -- return; -+ { -+ if (!_imageSizeSet) -+ { -+ emit imageSizeChanged(lines,columns); -+ _imageSizeSet = true; -+ } -+ return; -+ } - - _screen[0]->resizeImage(lines,columns); - _screen[1]->resizeImage(lines,columns); - - emit imageSizeChanged(lines,columns); -+ _imageSizeSet = true; - - bufferedUpdate(); - } -Index: konsole-4.6.1/konsole/src/Emulation.h -=================================================================== ---- konsole-4.6.1.orig/konsole/src/Emulation.h -+++ konsole-4.6.1/konsole/src/Emulation.h -@@ -462,6 +462,7 @@ private: - bool _usesMouse; - QTimer _bulkTimer1; - QTimer _bulkTimer2; -+ bool _imageSizeSet; - - }; - |
