Skip to content

Commit

Permalink
do not set DefaultColorDepth from autoyast when using fbdev
Browse files Browse the repository at this point in the history
  • Loading branch information
jdsn committed Feb 5, 2013
1 parent d845a39 commit 52ae48f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/autoyast/modules/AutoinstX11.ycp
Expand Up @@ -216,8 +216,12 @@ global define boolean Write() {
// convert value to integer (bnc#307967)
// made obsolete by fix for (bnc#418648), cast the value to be sure it is integer
integer colors = (integer) x11["color_depth"]:16;
y2milestone("X11-Auto: setup color depth <%1>",colors);
XLib::setDefaultColorDepth ( tostring(colors) );

// do not set the DefaultColorDepth when using fbdev (bnc#735130)
if ( ! XLib::isFbdevBased() ) {
y2milestone("X11-Auto: setup color depth <%1>",colors);
XLib::setDefaultColorDepth ( tostring(colors) );
}

boolean enable3D = x11["enable_3d"]:false;
y2milestone("X11-Auto: setup 3D <%1>",enable3D);
Expand Down

0 comments on commit 52ae48f

Please sign in to comment.