X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fframe-pointer.c;h=a99d0c6573d617b7280412340e671f23b15888f9;hb=4caa969e86b611255dddf085563d32e5e0e8f323;hp=09f1c0aa43f2d25dc0a22419437ff3cf2cfd1503;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/frame-pointer.c b/ioncore/frame-pointer.c index 09f1c0a..a99d0c6 100644 --- a/ioncore/frame-pointer.c +++ b/ioncore/frame-pointer.c @@ -3,10 +3,7 @@ * * Copyright (c) Tuomo Valkonen 1999-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 - * 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 @@ -66,7 +63,8 @@ int frame_press(WFrame *frame, XButtonEvent *ev, WRegion **reg_ret) g.y=0; } - if(rectangle_contains(&g, ev->x, ev->y)){ + if(frame->barmode!=FRAME_BAR_NONE && + rectangle_contains(&g, ev->x, ev->y)){ p_tabnum=frame_tab_at_x(frame, ev->x); region_rootpos((WRegion*)frame, &p_tab_x, &p_tab_y); @@ -336,7 +334,7 @@ static void p_tabdrag_end(WFrame *frame, XButtonEvent *ev) /*EXTL_DOC * Start dragging the tab that the user pressed on with the pointing device. * This function should only be used by binding it to \emph{mpress} or - * \emph{mdrag} action with area ''tab''. + * \emph{mdrag} action with area \codestr{tab}. */ EXTL_EXPORT_MEMBER void frame_p_tabdrag(WFrame *frame)