dropped click-through, too many ugly hacks, we will stick to click-to-focus, don't blame me, blame X

This commit is contained in:
Anselm R. Garbe 2006-01-18 17:22:49 +02:00
parent ed27c6b646
commit 849395cbc5
3 changed files with 3 additions and 4 deletions

View File

@ -61,7 +61,7 @@ focus_layout(Layout *l)
p->sel = l;
p->file[P_SEL_LAYOUT]->content = l->file[L_PREFIX]->content;
if((c = l->def->sel(l)))
l->def->focus(l, c, False);
l->def->focus(l, c, True);
invoke_wm_event(def[WM_EVENT_PAGE_UPDATE]);
}

View File

@ -548,7 +548,7 @@ swap_frame(void *obj, char *arg)
resize_frame(cell->frame, &cell->frame->rect, nil);
resize_frame(south->frame, &south->frame->rect, nil);
focus_col(l, cell->frame->sel, True);
} else if(!strncmp(arg, "west", 5) && west && (col->ncells > 1)) {
} else if(!strncmp(arg, "west", 5) && west && col->ncells && west->ncells) {
Cell *other = west->sel;
r = other->frame->rect;
other->frame->rect = cell->frame->rect;
@ -561,7 +561,7 @@ swap_frame(void *obj, char *arg)
resize_frame(cell->frame, &cell->frame->rect, nil);
resize_frame(other->frame, &other->frame->rect, nil);
focus_col(l, other->frame->sel, True);
} else if(!strncmp(arg, "east", 5) && east && (col->ncells > 1)) {
} else if(!strncmp(arg, "east", 5) && east && col->ncells && east->ncells) {
Cell *other = east->sel;
r = other->frame->rect;
other->frame->rect = cell->frame->rect;

View File

@ -206,7 +206,6 @@ static void _ixp_remove(IXPServer * s, File * f)
{
if (!f)
return;
fprintf(stderr, "_ixp_remove: %s\n", f->name);
if (f->next) {
_ixp_remove(s, f->next);
if (s->errstr)