]>
Dogcows Code - chaz/tint2/blob - src/systray/systraybar.h
1 /**************************************************************************
2 * Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
5 * systray implementation come from 'docker-1.5' by Ben Jansens,
6 * and from systray/xembed specification (freedesktop.org).
8 **************************************************************************/
16 #include <X11/extensions/Xdamage.h>
19 #define XEMBED_EMBEDDED_NOTIFY 0
20 // Flags for _XEMBED_INFO
21 #define XEMBED_MAPPED (1 << 0)
25 // always start with area
30 int alpha
, saturation
, brightness
;
40 // TODO: manage icon's show/hide
44 timeout
* render_timeout
;
48 // net_sel_win != None when protocol started
49 extern Window net_sel_win
;
50 extern Systraybar systray
;
51 extern int refresh_systray
;
52 extern int systray_enabled
;
53 extern int systray_max_icon_size
;
56 void init_systray_panel(void *p
);
57 void cleanup_systray();
58 void draw_systray(void *obj
, cairo_t
*c
);
59 void resize_systray(void *obj
);
63 // many tray icon doesn't manage stop/restart of the systray manager
66 void net_message(XClientMessageEvent
*e
);
68 gboolean
add_icon(Window id
);
69 void remove_icon(TrayWindow
*traywin
);
71 void refresh_systray_icon();
72 void systray_render_icon(TrayWindow
* traywin
);
73 void kde_update_icons();
This page took 0.037044 seconds and 4 git commands to generate.