fixed bad background with fake transparency+hidden panel

git-svn-id: http://tint2.googlecode.com/svn/trunk@350 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-01-14 22:55:08 +00:00
parent 961229a64b
commit 99dc929a7c
2 changed files with 13 additions and 6 deletions

View File

@@ -263,6 +263,7 @@ int tint2_handles_click(Panel* panel, XButtonEvent* e)
if (tskbar && e->button == 1 && panel_mode == MULTI_DESKTOP)
return 1;
if (click_clock(panel, e->x, e->y)) {
printf("ici 1 : %d\n", e->button);
if ( (e->button == 1 && clock_lclick_command) || (e->button == 3 && clock_rclick_command) )
return 1;
else