Skip to content

Commit

Permalink
win: mark debug windows as paint exclude
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Apr 20, 2024
1 parent 156b665 commit 98559f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/win.c
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,10 @@ void win_on_factor_change(session_t *ps, struct managed_win *w) {
win_update_opacity_target(ps, w);

w->reg_ignore_valid = false;
if (ps->debug_window != XCB_NONE &&
(w->base.id == ps->debug_window || w->client_win == ps->debug_window)) {
w->paint_excluded = true;
}
}

/**
Expand Down

0 comments on commit 98559f5

Please sign in to comment.