Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » X error BadWindow inside gdk_window_add_colormap_windows [RSS Feed]

#1 Jan. 9, 2011 22:38:13

s.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

X error BadWindow inside gdk_window_add_colormap_windows


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.htmlSent from the Gtk+ - General mailing list archive at Nabble.com.

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

Offline

  • Root
  • » GTK+
  • » X error BadWindow inside gdk_window_add_colormap_windows [RSS Feed]

Board footer

Moderator control

Enjoy the 14th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support