X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ioncore%2Fframe-pointer.c;h=6340dd0d2ccfebdd692bcf999bce243f46565ab6;hb=e3aec18706513a87eaa7839dfdaf7e0fcd0d8d2a;hp=a99d0c6573d617b7280412340e671f23b15888f9;hpb=1cd244db6df1337d594b9e2456c735cbc28aea6c;p=ion3.git diff --git a/ioncore/frame-pointer.c b/ioncore/frame-pointer.c index a99d0c6..6340dd0 100644 --- a/ioncore/frame-pointer.c +++ b/ioncore/frame-pointer.c @@ -1,7 +1,7 @@ /* * ion/ioncore/frame-pointer.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2009. * * See the included file LICENSE for details. */ @@ -364,19 +364,22 @@ void frame_p_tabdrag(WFrame *frame) EXTL_EXPORT_MEMBER void frame_p_switch_tab(WFrame *frame) { - WRegion *sub; + /*WRegion *sub;*/ if(ioncore_pointer_grab_region()!=(WRegion*)frame) return; + /* sub=sub_at_tab(frame); - if(sub!=NULL){ bool mcf=region_may_control_focus((WRegion*)frame); region_goto_flags(sub, (mcf ? REGION_GOTO_FOCUS|REGION_GOTO_NOWARP : 0)); } + */ + + mplex_switch_nth((WMPlex*)frame, p_tabnum); }