X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_query%2Fquery.c;h=8aadc4054a8df5ffb00b46ecfd5f0a3717259cc9;hb=0e823ba752af388ba5ca99800d094f88a11290db;hp=9418af5e11d5b8518fa93795a5c46b02a3c2b6b4;hpb=768d45580fc176cedd04db0b05621cdf596751d5;p=ion3.git diff --git a/mod_query/query.c b/mod_query/query.c index 9418af5..8aadc40 100644 --- a/mod_query/query.c +++ b/mod_query/query.c @@ -1,12 +1,9 @@ /* * ion/mod_query/query.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * - * 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. */ #include @@ -16,6 +13,7 @@ #include #include #include +#include #include #include "query.h" #include "wedln.h" @@ -45,10 +43,11 @@ WEdln *mod_query_do_query(WMPlex *mplex, const char *prompt, const char *dflt, fnp.completor=completor; par.flags=(MPLEX_ATTACH_SWITCHTO| - MPLEX_ATTACH_MODAL| + MPLEX_ATTACH_LEVEL| MPLEX_ATTACH_UNNUMBERED| MPLEX_ATTACH_SIZEPOLICY); par.szplcy=SIZEPOLICY_FULL_BOUNDS; + par.level=STACKING_LEVEL_MODAL1+1; wedln=(WEdln*)mplex_do_attach_new(mplex, &par, (WRegionCreateFn*)create_wedln,