~ubuntu-branches/ubuntu/natty/xfwm4/natty

« back to all changes in this revision

Viewing changes to src/display.c

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2011-01-03 20:47:16 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20110103204716-xfjjslpyp1rwyc02
Tags: 4.7.4-0ubuntu1
New upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        MA 02110-1301, USA.
17
17
 
18
18
 
19
 
        xfwm4    - (c) 2002-2009 Olivier Fourdan
 
19
        xfwm4    - (c) 2002-2010 Olivier Fourdan
20
20
 
21
21
 */
22
22
 
339
339
    display->screens = NULL;
340
340
    display->clients = NULL;
341
341
    display->xgrabcount = 0;
342
 
    display->dbl_click_time = 300;
 
342
    display->double_click_time = 250;
 
343
    display->double_click_distance = 5;
343
344
    display->nb_screens = 0;
344
345
    display->current_time = CurrentTime;
345
346
 
399
400
}
400
401
 
401
402
gboolean
 
403
myDisplayHaveShapeInput (DisplayInfo *display)
 
404
{
 
405
    g_return_val_if_fail (display != NULL, FALSE);
 
406
 
 
407
    return ((display->have_shape) && (display->shape_version >= 1001));
 
408
}
 
409
 
 
410
gboolean
402
411
myDisplayHaveRender (DisplayInfo *display)
403
412
{
404
413
    g_return_val_if_fail (display != NULL, FALSE);