]>
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 **************************************************************************/
15 #include <X11/extensions/Xdamage.h>
18 #define XEMBED_EMBEDDED_NOTIFY 0
19 // Flags for _XEMBED_INFO
20 #define XEMBED_MAPPED (1 << 0)
24 // always start with area
29 int alpha
, saturation
, brightness
;
39 // TODO: manage icon's show/hide
46 // net_sel_win != None when protocol started
47 extern Window net_sel_win
;
48 extern Systraybar systray
;
49 extern int refresh_systray
;
50 extern int systray_enabled
;
51 extern int systray_max_icon_size
;
54 void init_systray_panel(void *p
);
55 void cleanup_systray();
56 void draw_systray(void *obj
, cairo_t
*c
, int active
);
57 void resize_systray(void *obj
);
61 // many tray icon doesn't manage stop/restart of the systray manager
64 void net_message(XClientMessageEvent
*e
);
66 gboolean
add_icon(Window id
);
67 void remove_icon(TrayWindow
*traywin
);
69 void refresh_systray_icon();
71 void kde_update_icons();
This page took 0.038611 seconds and 4 git commands to generate.