Remove some pointless code
This is a left-over from when widgets where removed (commit
d213f19c5f
).
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
14a7fc4fde
commit
da78a89dcd
|
@ -335,14 +335,6 @@ drawin_detach(lua_State *L, int udx)
|
|||
drawin_t *drawin = luaA_checkudata(L, udx, &drawin_class);
|
||||
if(drawin->screen)
|
||||
{
|
||||
bool v;
|
||||
|
||||
/* save visible state */
|
||||
v = drawin->visible;
|
||||
drawin->visible = false;
|
||||
/* restore visibility */
|
||||
drawin->visible = v;
|
||||
|
||||
drawin_wipe_resources(drawin);
|
||||
|
||||
foreach(item, globalconf.drawins)
|
||||
|
|
Loading…
Reference in New Issue