X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fgrab.c;h=4963e8a763b8a967dbec88c4dbabda27b6297871;hb=ec316c66d2678ffeddfca6c0be39d23eab55bd34;hp=aad2dfdf9b69057812a09c490fae8e37a05f98af;hpb=768d45580fc176cedd04db0b05621cdf596751d5;p=ion3.git diff --git a/ioncore/grab.c b/ioncore/grab.c index aad2dfd..4963e8a 100644 --- a/ioncore/grab.c +++ b/ioncore/grab.c @@ -2,12 +2,12 @@ * ion/ioncore/grab.c * * Copyright (c) Lukas Schroeder 2002, - * Tuomo Valkonen 2003-2007. + * Tuomo Valkonen 2003-2009. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. + * + * Alternatively, you may apply the Clarified Artistic License to this file, + * since Lukas' contributions were originally under that. */ #include @@ -119,6 +119,7 @@ void ioncore_grab_establish(WRegion *reg, GrabHandler *func, current_grab->cursor=IONCORE_CURSOR_DEFAULT; current_grab->confine_to=None; /*region_root_of(reg);*/ current_grab->sqid=last_sqid++; + watch_init(¤t_grab->watch); do_grab_install(current_grab); } }