~ubuntu-dev/ubuntu/lucid/mutter/lucid-201002101851

« back to all changes in this revision

Viewing changes to src/include/util.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-10-12 17:23:14 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091012172314-lewb04b7p8g76arg
Tags: 2.28.0-0ubuntu1
* New upstream release
  - queue frame resize on window undecorate (Neil)
  - fix description of desktop background (Luca)
  - wrap g_error calls in braces (Matt)

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
 */
162
162
extern MetaNexus *sigchld_nexus;
163
163
 
 
164
/**
 
165
 * MetaLaterType:
 
166
 * @META_LATER_RESIZE: call in a resize processing phase that is done
 
167
 *   before GTK+ repainting (including window borders) is done.
 
168
 * @META_LATER_BEFORE_REDRAW: call before the stage is redrawn
 
169
 * @META_LATER_IDLE: call at a very low priority (can be blocked
 
170
 *    by running animations or redrawing applications)
 
171
 **/
 
172
typedef enum {
 
173
  META_LATER_RESIZE,
 
174
  META_LATER_BEFORE_REDRAW,
 
175
  META_LATER_IDLE
 
176
} MetaLaterType;
 
177
 
 
178
guint meta_later_add    (MetaLaterType  when,
 
179
                         GSourceFunc    func,
 
180
                         gpointer       data,
 
181
                         GDestroyNotify notify);
 
182
void  meta_later_remove (guint          later_id);
 
183
 
164
184
#endif /* META_UTIL_H */
165
185
 
166
186