add a sleep inbetween disabling and enabling hardware mode

i've been seeing HW mode not always re-enabling, hopefully this'll fix it
This commit is contained in:
GinjaNinja32
2015-11-18 14:38:46 +00:00
parent 8ebbd5049a
commit d247584d1b

View File

@@ -161,6 +161,7 @@
spawn(5) // And wait a half-second, since it sounds like you can do this too fast.
if(src)
winset(src, null, "command=\".configure graphics-hwmode off\"")
sleep(2) // wait a bit more, possibly fixes hardware mode not re-activating right
winset(src, null, "command=\".configure graphics-hwmode on\"")
log_client_to_db()