From b0b1e212ec0639b171c156c0639b13ff68f40afe Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 6 Oct 2016 18:50:13 +0200 Subject: [PATCH] Fix short flicker when new clients appear (#1138) We are doing more and more things lazily in the C code. The newest addition is lazily configuring clients, which means that geometry changes are only applied later. However, this caused a short flicker when a new client appears: We were first making the client visible and then moving it to its "proper" position. Since unbanning is also done lazily, we just have to change the order in which we apply these operations to fix this. Signed-off-by: Uli Schlachter --- event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event.h b/event.h index 47ea42878..601b70f19 100644 --- a/event.h +++ b/event.h @@ -46,10 +46,10 @@ awesome_refresh(void) { screen_refresh(); luaA_emit_refresh(); - banning_refresh(); - stack_refresh(); drawin_refresh(); client_refresh(); + banning_refresh(); + stack_refresh(); return xcb_flush(globalconf.connection); }