mirror of
https://github.com/0intro/wmii
synced 2025-02-04 08:24:36 +03:00
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:
parent
ed27c6b646
commit
849395cbc5
@ -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]);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user