X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffloating.c;h=c8b436b40e3dd75a15396e32843a47a80e79ee0b;hb=100d05a2a662c339da616c6bdc3a1f7e3d95d355;hp=4f2760a7e1013b45518f30291395ec923eb1f069;hpb=29f2510fa9484a5fa235de9a1c5c937292151888;p=i3%2Fi3 diff --git a/src/floating.c b/src/floating.c index 4f2760a7..c8b436b4 100644 --- a/src/floating.c +++ b/src/floating.c @@ -412,8 +412,7 @@ void floating_enable(Con *con, bool automatic) { DLOG("Corrected y = %d (deco_height = %d)\n", nc->rect.y, deco_height); /* render the cons to get initial window_rect correct */ - render_con(nc, false); - render_con(con, false); + render_con(nc); if (set_focus) con_activate(con); @@ -568,7 +567,7 @@ DRAGGING_CB(drag_window_callback) { con->rect.x = old_rect->x + (new_x - event->root_x); con->rect.y = old_rect->y + (new_y - event->root_y); - render_con(con, false); + render_con(con); x_push_node(con); xcb_flush(conn);