X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ioncore%2Fgrab.c;h=aad2dfdf9b69057812a09c490fae8e37a05f98af;hb=20070318;hp=d3bbcadf5172fc2cae2931fdab3a247b51776200;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/grab.c b/ioncore/grab.c index d3bbcad..aad2dfd 100644 --- a/ioncore/grab.c +++ b/ioncore/grab.c @@ -2,7 +2,7 @@ * ion/ioncore/grab.c * * Copyright (c) Lukas Schroeder 2002, - * Tuomo Valkonen 2003. + * Tuomo Valkonen 2003-2007. * * 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 @@ -117,7 +117,7 @@ void ioncore_grab_establish(WRegion *reg, GrabHandler *func, current_grab->eventmask=eventmask; current_grab->remove=FALSE; current_grab->cursor=IONCORE_CURSOR_DEFAULT; - current_grab->confine_to=region_root_of(reg); + current_grab->confine_to=None; /*region_root_of(reg);*/ current_grab->sqid=last_sqid++; do_grab_install(current_grab); }