Re: improve minimize animation #102175
- From: Havoc Pennington <hp redhat com>
- To: BJörn Lindqvist <bjourne gmail com>
- Cc: metacity-devel-list gnome org
- Subject: Re: improve minimize animation #102175
- Date: Wed, 29 Mar 2006 22:09:47 -0500
BJörn Lindqvist wrote:
If it is useful, I like to finish the patch. But then I need someone
to help me with how you are supposed to get an image of the windows
titlebar. Just like the code for opaque animations in effects.c, my
patch takes a snapshot of a part of the screen to animate with.
Problem is that if the titlebar is occluded snapshotting doesn't work.
I wonder if there is a way to get Metacity to render the titlebar into
a GdkPixbuf? If so, the patch would be easy to complete.
You might look at how the theme control panel and metacity-theme-viewer
render the theme previews... that should make it fairly clear how to do
it. You may need to go to a pixmap instead of pixbuf.
Havoc
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]