X error BadWindow inside gdk_window_add_colormap_windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:

I'm receiving a BadWindow X error inside gdk_window_add_colormap_windows

I've been looking to this function source and I think the error is that is
giving the toplevel window to the X, obtained with gdk_window_get_toplevel.
Probably the problem is that I'm doing some stuff with clutter and
offscreens so I think that the toplevel window should be obtained through
the get_effective_toplevel function.

I can not easily confirm this because I'm using gtk 2.18 and I need to
download / upgrade lots of libraries in order to compile gtk 2.22, to use
the get_effective functions. 

I would like if anyone can confirm this as a bug. I'm afraid I can not do a
simple example code to reproduce the problem, but I can confirm that it only
fails with using an rgba visual in the gtk widget instead of the default rgb

This is part of the backtrace.

#1  0x013df839 in _XError () from /usr/lib/libX11.so.6
#2  0x013e5e9f in ?? () from /usr/lib/libX11.so.6
#3  0x013e6526 in _XReply () from /usr/lib/libX11.so.6
#4  0x013c40b6 in XGetWindowProperty () from /usr/lib/libX11.so.6
#5  0x013c4d7e in XGetWMColormapWindows () from /usr/lib/libX11.so.6
#6  0x010b2dc9 in gdk_window_add_colormap_windows (window=0x85cb1f8) at
gdkwindow-x11.c:3394
#7  0x010b3be0 in _gdk_window_impl_new (window=0x85cb1f8,
real_parent=0x85cb0a8, screen=0x809e0c8, visual=0x80a2378,
event_mask=2241286, 
    attributes=0xbfffdd44, attributes_mask=108) at gdkwindow-x11.c:830
#8  0x01087f74 in IA__gdk_window_new (parent=0x85cb0a8,
attributes=0xbfffdd44, attributes_mask=108) at gdkwindow.c:1389
#9  0x00cdc0c4 in gtk_event_box_realize (widget=0x84669f8) at
gtkeventbox.c:409

TIA


-- 
View this message in context: http://old.nabble.com/X-error-BadWindow-inside--gdk_window_add_colormap_windows-tp30629867p30629867.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux