Re: Drawing a GdkDrawable to a frame window from gdk_foreign_new ()

2010-02-15 Thread Sam Spilsbury
On Tue, Feb 16, 2010 at 10:15 AM, Sam Spilsbury wrote: > Hmm, my mail client must have cut this message into two mails (bizzare bug). > > In case it is actually the list doing this, here is the text of the > mail in full: http://pastebin.ca/1797937 > > Otherwise it is pasted below: > > Hey everyon

Re: Drawing a GdkDrawable to a frame window from gdk_foreign_new ()

2010-02-15 Thread Sam Spilsbury
Hmm, my mail client must have cut this message into two mails (bizzare bug). In case it is actually the list doing this, here is the text of the mail in full: http://pastebin.ca/1797937 Otherwise it is pasted below: Hey everyone, I'm helping to write a reparenting window manager and we are draw

Drawing a GdkDrawable to a frame window from gdk_foreign_new ()

2010-02-15 Thread Sam Spilsbury
Hey everyone, I'm helping to write a reparenting window manager and we are drawing some of our decorations using GDK. A X Window "frame" is provided to the application that draws the frame window and from this we create a GdkWindow * with gdk_window_foreign_new (). The colormap is set to the defa

Re: gtk+-2.18, win32, and OpenGL

2010-02-15 Thread Tim Evans
2. Mouse events seem to be screwed up. After clicking on my OpenGL area widget, other widgets will not receive enter-notify-event until I click again outside the widget, making buttons and other widgets not work. Is there a way to fix this? same here. I hacked around this one, probably break

RE: gtk+-2.18, win32, and OpenGL

2010-02-15 Thread Emmanuele Bassi
On Mon, 2010-02-15 at 14:33 -0500, Shawn Bakhtiar wrote: > > > FYI --- > > The same thing happens on the OS X version using the Native GTK (NON X > Windows). No mater where the widget. It always takes up the entire > windows, and does not respond to mouse input. > > Could it be that the issue i

RE: gtk+-2.18, win32, and OpenGL

2010-02-15 Thread Shawn Bakhtiar
FYI --- The same thing happens on the OS X version using the Native GTK (NON X Windows). No mater where the widget. It always takes up the entire windows, and does not respond to mouse input. Could it be that the issue is not platform specific? EMAILING FOR THE GREATER GOOD Join me >

Re: gtk+-2.18, win32, and OpenGL

2010-02-15 Thread Alexander Larsson
On Mon, 2010-02-15 at 12:07 +1300, Tim Evans wrote: > Previous with GTK+ 2.14 I had some custom code that would let me draw > with OpenGL into a widget under win32. After updating GTK+ 2.18 this > code doesn't work properly any more, it turns the entire toplevel > window > into an OpenGL area i