commit abcefd39812406e2c13bfb0c63b834b71521c36d parent 9ef8acd057e36fdcfe5434dca46a70663443f2a6 Author: Anselm R. Garbe <garbeam@wmii.de> Date: Mon, 23 Jan 2006 21:40:31 +0200 fixed frame selection on frame press Diffstat:
| cmd/wm/frame.c | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/cmd/wm/frame.c b/cmd/wm/frame.c @@ -247,6 +247,11 @@ handle_frame_buttonpress(XButtonEvent * e, Frame * f) { Align align; int bindex; + Layout *l = sel_layout(); + if(l != f->layout) + focus_layout(f->layout); + l = f->layout; + l->def->focus(l, f->client, False); if(e->button == Button1) { align = cursor_to_align(f->cursor); if(align == CENTER)