]>
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 **************************************************************************/
17 #define XEMBED_EMBEDDED_NOTIFY 0
18 // Flags for _XEMBED_INFO
19 #define XEMBED_MAPPED (1 << 0)
23 // always start with area
36 // TODO: manage icon's show/hide
41 // net_sel_win != None when protocol started
42 extern Window net_sel_win
;
43 extern Systraybar systray
;
44 extern int refresh_systray
;
45 extern int systray_enabled
;
48 void init_systray_panel(void *p
);
49 void cleanup_systray();
50 void draw_systray(void *obj
, cairo_t
*c
, int active
);
51 void resize_systray(void *obj
);
55 // many tray icon doesn't manage stop/restart of the systray manager
58 void net_message(XClientMessageEvent
*e
);
60 gboolean
add_icon(Window id
);
61 void remove_icon(TrayWindow
*traywin
);
63 void refresh_systray_icon();
65 void kde_update_icons();
This page took 0.038738 seconds and 4 git commands to generate.