Systray: option to configure monitor (fixes issue 451 and TODOs in the code)
git-svn-id: http://tint2.googlecode.com/svn/trunk@667 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
committed by
mrovi9000@gmail.com
parent
1cb0c16ff4
commit
de539e218a
@@ -49,6 +49,7 @@ Systraybar systray;
|
||||
int refresh_systray;
|
||||
int systray_enabled;
|
||||
int systray_max_icon_size;
|
||||
int systray_monitor;
|
||||
|
||||
// background pixmap if we render ourselves the icons
|
||||
static Pixmap render_background;
|
||||
@@ -71,6 +72,7 @@ void cleanup_systray()
|
||||
stop_net();
|
||||
systray_enabled = 0;
|
||||
systray_max_icon_size = 0;
|
||||
systray_monitor = 0;
|
||||
systray.area.on_screen = 0;
|
||||
free_area(&systray.area);
|
||||
if (render_background) {
|
||||
|
||||
@@ -52,6 +52,7 @@ extern Systraybar systray;
|
||||
extern int refresh_systray;
|
||||
extern int systray_enabled;
|
||||
extern int systray_max_icon_size;
|
||||
extern int systray_monitor;
|
||||
|
||||
// default global data
|
||||
void default_systray();
|
||||
|
||||
Reference in New Issue
Block a user