/*
* ion/ioncore/frame-pointer.c
*
- * Copyright (c) Tuomo Valkonen 1999-2007.
+ * Copyright (c) Tuomo Valkonen 1999-2008.
*
* See the included file LICENSE for details.
*/
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);
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);
}