diff --git a/objects/drawin.c b/objects/drawin.c index 09056b7f..377be629 100644 --- a/objects/drawin.c +++ b/objects/drawin.c @@ -297,10 +297,10 @@ static void drawin_map(lua_State *L, int widx) { drawin_t *drawin = luaA_checkudata(L, widx, &drawin_class); - /* Activate BMA */ - client_ignore_enterleave_events(); /* Apply any pending changes */ drawin_apply_moveresize(drawin); + /* Activate BMA */ + client_ignore_enterleave_events(); /* Map the drawin */ xcb_map_window(globalconf.connection, drawin->window); /* Deactivate BMA */