systray: Throttle resize events for misbehaving applications

This commit is contained in:
o9000
2015-07-19 16:49:05 +02:00
parent 4a1880ead0
commit b8c1c29df2
2 changed files with 91 additions and 27 deletions

View File

@@ -51,7 +51,11 @@ typedef struct
int num_fast_renders;
int reparented;
int embedded;
int bad_size_counter;
timeout* resize_timeout;
struct timespec time_last_resize;
char *name;
Imlib_Image image;
} TrayWindow;