ignore 32-bit visuals for now - until we can support alpha channel in colors
rathnor rathnor
2 files changed,
6 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,6 +1,9 @@
(Format: Year/Month/Day) Changes for 0.9.11 *04/09/11: + * Ignore 32-bit visuals for now when selecting (Simon) + - should fix problems with Composite being enabled in X.org + FbRootWindow.cc * Fixed issues with Strut and multiple heads (Thanks Mathieu De Zutter) Screen.hh/cc, HeadArea.hh/cc, Slit.cc, Toolbar.cc, Ewmh.cc Strut.hh/cc, ToolFactory.cc, fluxbox.cc, FbTk/Menu.hh/cc
M
src/FbRootWindow.cc
→
src/FbRootWindow.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbRootWindow.cc,v 1.2 2003/05/12 04:29:50 fluxgen Exp $ +// $Id: FbRootWindow.cc,v 1.3 2004/09/11 14:13:06 rathnor Exp $ #include "FbRootWindow.hh" #include "App.hh"@@ -46,7 +46,8 @@ &vinfo_template, &vinfo_nitems)) &&
vinfo_nitems > 0) { for (int i = 0; i < vinfo_nitems; i++) { - if (DefaultDepth(disp, screen_num) < vinfo_return[i].depth) + // We can't handle 32-bit visuals just yet (Composite ARGB) + if (vinfo_return[i].depth != 32 && DefaultDepth(disp, screen_num) < vinfo_return[i].depth) m_visual = vinfo_return[i].visual; }