Am Dienstag, den 30.03.2010, 17:26 +0000 schrieb Tom Jaeger:
> On 03/30/2010 01:03 PM, Mirco Müller wrote:
> > The branch for fixing this in notify-osd I put up for review here:
> > https://code.edge.launchpad.net/~macslow/notify-
> > osd/fix-546650/+merge/22469
> >
> > This keeps the changes within notify-osd. I don't fully understand why
> > only this works and the old way for creating the "empty" input-mask
> > failed, because the resulting input-mask in both cases is a 1x1 pixel
> > "large" bitmap in the top left corner of a notification-bubble's window.
> >
> > This will also still work with older version of gtk+. You can give that
> > a try. Seb, if you want you can use the diff from that branch as a
> > distro-patch for the moment until I rolled a new notify-osd release
> > later this week. Still have to fight some other notify-osd bugs I want
> > to put in this weeks release.
> >
>
> This seems awfully complicated. Why don't you just use
> gdk_window_input_shape_combine_region on an empty region?
Am Dienstag, den 30.03.2010, 17:26 +0000 schrieb Tom Jaeger: /code.edge. launchpad. net/~macslow/ notify- 546650/ +merge/ 22469 bubble' s window. input_shape_ combine_ region on an empty region?
> On 03/30/2010 01:03 PM, Mirco Müller wrote:
> > The branch for fixing this in notify-osd I put up for review here:
> > https:/
> > osd/fix-
> >
> > This keeps the changes within notify-osd. I don't fully understand why
> > only this works and the old way for creating the "empty" input-mask
> > failed, because the resulting input-mask in both cases is a 1x1 pixel
> > "large" bitmap in the top left corner of a notification-
> >
> > This will also still work with older version of gtk+. You can give that
> > a try. Seb, if you want you can use the diff from that branch as a
> > distro-patch for the moment until I rolled a new notify-osd release
> > later this week. Still have to fight some other notify-osd bugs I want
> > to put in this weeks release.
> >
>
> This seems awfully complicated. Why don't you just use
> gdk_window_
That's a very good question, since...
region = gdk_region_new ();
gdk_window_ input_shape_ combine_ region (window->window, region, 0, 0);
gdk_region_ destroy (region);
... works just fine and is leaner. I'll update the patch/branch tomorrow.
Best regards ...
Mirco