Re: How to use socket conditions ?

2015-07-10 Thread Carl Nygard
Not sure how glib socket handles this, but typically for socket disconnects you'll get an indication that there is content ready to read on the socket (say, from a select call) but when you read from the socket, it reports zero bytes and no errors. That's the indication that the other side hung

Fwd: Help with GdkWindow size

2014-03-24 Thread Carl Nygard
gureNotify dims: (227, 128) GdkWindow[0x193e350] geometry:(227, 128) dims:(200, 100) Handling event (12) Expose (0,0) (227,128) Handling event (22) ConfigureNotify dims: (228, 130) GdkWindow[0x193e350] geometry:(228, 130) dims:(200, 100) Handling event (12) Expose (0,0) (228,130) On M

Help with GdkWindow size

2014-03-23 Thread Carl Nygard
Hoping to get some help on an older version of Gtk. I'm actually using Gtkmm, but I've boiled the issue down to straight X/Gtk code. I'm supporting some legacy code and as we migrate to newer versions of OS, we're running into issues with some drawing functionality. To boil it down, we are creat

GdkPixbuf rendering to partially obscured window

2005-01-31 Thread Carl Nygard
http://www.3sinc.com/gdkpixbuf/obscured-raster.png http://www.3sinc.com/gdkpixbuf/missing-raster.png Is this a problem with GdkPixbuf not rendering to what it knows is obscured portions of the window? Or is this a problem with SaveUnder or BackingStore? -- Carl Nygard <[EMAIL P