add usleep() call to newWindow(); a delay is needed now (for whatever reason) to give urxvt time to properly handle a resize event
This commit is contained in:
parent
cbd09d0751
commit
ae6903668b
1 changed files with 2 additions and 0 deletions
2
event.c
2
event.c
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xos.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
@ -287,6 +288,7 @@ newwindow(XCreateWindowEvent *e)
|
|||
}
|
||||
if (kbLaunch)
|
||||
{
|
||||
usleep(100000);
|
||||
quickreshape(c, c->screen->width/5, c->screen->height/5, 3*c->screen->width/5, 3*c->screen->height/5);
|
||||
kbLaunch = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue