summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/applications/krandr/krandr-0.5.2.1-legacy_randr_on_single_output.patch
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:06:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:06:23 +0900
commit40be1ebef7a688235d4730561908a02f10505385 (patch)
treeab182bf59496abaee2ddbf03d3e910bd37ae57e8 /mandriva/2010.2/applications/krandr/krandr-0.5.2.1-legacy_randr_on_single_output.patch
parentc169e89296c2d885faa5cdeba21dc35b10b2f583 (diff)
downloadtde-packaging-40be1ebef7a688235d4730561908a02f10505385.tar.gz
tde-packaging-40be1ebef7a688235d4730561908a02f10505385.zip
Removed obsolete Mandriva 2010 packaging files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'mandriva/2010.2/applications/krandr/krandr-0.5.2.1-legacy_randr_on_single_output.patch')
-rw-r--r--mandriva/2010.2/applications/krandr/krandr-0.5.2.1-legacy_randr_on_single_output.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/mandriva/2010.2/applications/krandr/krandr-0.5.2.1-legacy_randr_on_single_output.patch b/mandriva/2010.2/applications/krandr/krandr-0.5.2.1-legacy_randr_on_single_output.patch
deleted file mode 100644
index 8b406daa5..000000000
--- a/mandriva/2010.2/applications/krandr/krandr-0.5.2.1-legacy_randr_on_single_output.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- krandr-0.5.2.1/randr/randrdisplay.cpp.orig 2007-09-12 11:00:50.000000000 -0300
-+++ krandr-0.5.2.1/randr/randrdisplay.cpp 2007-09-12 11:05:15.000000000 -0300
-@@ -64,6 +64,27 @@ RandRDisplay::RandRDisplay()
- m_legacyScreens.append(new LegacyRandRScreen(i));
- }
-
-+#ifdef HAS_RANDR_1_2
-+ // check if we have more than one output, if no, revert to the legacy behavior
-+ if (RandR::has_1_2)
-+ {
-+ int count = 0;
-+ for (int i = 0; i < m_numScreens; ++i)
-+ count += m_screens[i]->outputs().count();
-+
-+ if (count < 2)
-+ {
-+ RandR::has_1_2 = false;
-+ for (int i = 0; i < m_numScreens; ++i)
-+ {
-+ delete m_screens[i];
-+ m_legacyScreens.append(new LegacyRandRScreen(i));
-+ }
-+ m_screens.clear();
-+ }
-+ }
-+#endif
-+
- setCurrentScreen(QApplication::desktop()->primaryScreen());
- }
-