devdraw: notify window resize promptly on x11

Fixes #339.
This commit is contained in:
Russ Cox
2020-01-14 19:43:32 -05:00
parent 40d787ab12
commit 1f799495e4
5 changed files with 28 additions and 13 deletions

View File

@@ -518,7 +518,6 @@ rpc_resizeimg(Client *c)
- (void)resizeimg {
[self initimg];
gfx_replacescreenimage(self.client, self.img);
[self sendmouse:0];
}
- (void)windowDidResize:(NSNotification *)notification {