Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/handlers.c b/src/handlers.c
- index 36c8339..73eeb72 100644
- --- a/src/handlers.c
- +++ b/src/handlers.c
- @@ -657,6 +657,10 @@ static void handle_client_message(xcb_client_message_event_t *e
- tree_render();
- } else if (event->type == A__NET_ACTIVE_WINDOW) {
- DLOG("_NET_ACTIVE_WINDOW: Window 0x%08x should be activated\n", event->wind
- +
- + DLOG("_NET_ACTIVE_WINDOW: CHECK: ignoring\n");
- + return;
- +
- Con *con = con_by_window_id(event->window);
- if (con == NULL) {
- DLOG("Could not get window for client message\n");
- diff --git a/src/manage.c b/src/manage.c
- index f5bd76e..47f690f 100644
- --- a/src/manage.c
- +++ b/src/manage.c
- @@ -335,9 +335,11 @@ void manage_window(xcb_window_t window, xcb_get_window_attribut
- Con *current_output = con_get_output(focused);
- Con *target_output = con_get_output(ws);
- + DLOG("CHECK: something\n");
- if (workspace_is_visible(ws) && current_output == target_output) {
- if (!match || !match->restart_mode) {
- - con_focus(nc);
- + DLOG("CHECK: preventing focus steal, not focusing\n");
- + // con_focus(nc);
- } else DLOG("not focusing, matched with restart_mode == true\n");
- } else DLOG("workspace not visible, not focusing\n");
- } else DLOG("dock, not focusing\n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement