ignore 32-bit visuals for now - until we can support alpha channel in colors
This commit is contained in:
parent
92bc932dc3
commit
b063688992
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// 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 @@ FbRootWindow::FbRootWindow(int screen_num):
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue