Re: OpenGL drawing to widget actually draws in the whole window
- From: Tadej Borovšak <tadeboro gmail com>
- To: Lukas Kontenis <dse ssd gmail com>
- Cc: gtkglext-list gnome org, gtk-list gnome org
- Subject: Re: OpenGL drawing to widget actually draws in the whole window
- Date: Tue, 10 Aug 2010 15:30:06 +0200
Hi.
GTK+-2.18 introduced client-side windows, which means that not all
GdkWindows are now backed with native window. The only GdkWindow that
is always backed by native window is applicaition's toplevel window.
This probably explains why your drawing would end-up on the toplevel.
It is possible to set GDK_NATIVE_WINDOWS env variable, in which case
all GdkWindows will be native windows like in GTK+>2.18.
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]