git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a341ae
)
pnd_run.sh: restore fb0 layer config too
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 3 Mar 2013 01:11:34 +0000
(
03:11
+0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 3 Mar 2013 01:11:34 +0000
(
03:11
+0200)
testdata/scripts/pnd_run.sh
patch
|
blob
|
history
diff --git
a/testdata/scripts/pnd_run.sh
b/testdata/scripts/pnd_run.sh
index
ddae38c
..
d2ff52a
100755
(executable)
--- a/
testdata/scripts/pnd_run.sh
+++ b/
testdata/scripts/pnd_run.sh
@@
-614,6
+614,8
@@
main() {
fi
PND_BeginTask "Restoring the frame buffer status"
fbset -fb /dev/fb0 -g $old_fb0_geometry
fi
PND_BeginTask "Restoring the frame buffer status"
fbset -fb /dev/fb0 -g $old_fb0_geometry
+ old_res=$(echo $old_fb0_geometry | awk '{print $1, $2}')
+ ofbset -fb /dev/fb0 -pos 0 0 -size $old_res -en 1
if ! lsof /dev/fb1 > /dev/null; then
ofbset -fb /dev/fb1 -mem 0 -size 0 0 -en 0
fi
if ! lsof /dev/fb1 > /dev/null; then
ofbset -fb /dev/fb1 -mem 0 -size 0 0 -en 0
fi