X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ioncore%2Fgrab.c;h=4963e8a763b8a967dbec88c4dbabda27b6297871;hb=e3aec18706513a87eaa7839dfdaf7e0fcd0d8d2a;hp=aad2dfdf9b69057812a09c490fae8e37a05f98af;hpb=de22e45179cb3bafa490294d31d47f361047a30a;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); } }