systray: Sort icons in the correct order when an icon is empty and order is right2left

This commit is contained in:
o9000
2015-05-30 13:03:34 +02:00
parent ea67f24051
commit cb17e5a662
4 changed files with 22 additions and 10 deletions

View File

@@ -14,6 +14,8 @@
#include "area.h"
#include "timer.h"
#include <X11/extensions/Xdamage.h>
#include <time.h>
#include <sys/time.h>
// XEMBED messages
#define XEMBED_EMBEDDED_NOTIFY 0
@@ -47,6 +49,7 @@ typedef struct
int empty;
int pid;
int chrono;
struct timespec time_last_render;
} TrayWindow;