From e29621b0e705bd2acb7fb0306e9ab5effe5dcbf1 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 6 Sep 2012 20:25:23 +0200 Subject: [PATCH] Actually use the first screen if querying the pointer position fails --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 14786d2..953e8ee 100644 --- a/src/main.c +++ b/src/main.c @@ -695,9 +695,8 @@ int main(int argc, char *argv[]) { pointerreply->root_x, pointerreply->root_y); output = get_first_output(); } - - con_focus(con_descend_focused(output_get_content(output->con))); } + con_focus(con_descend_focused(output_get_content(output->con))); tree_render(); -- 1.7.11.5