tint2conf : right clic on theme

git-svn-id: http://tint2.googlecode.com/svn/trunk@238 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-10-26 20:17:05 +00:00
parent 6ec5d5be99
commit ae39bdd733
2 changed files with 87 additions and 57 deletions

View File

@@ -294,7 +294,11 @@ void event_button_press (XEvent *e)
{
Panel *panel = get_panel(e->xany.window);
if (!panel) return;
/*
if (wm_menu && (e->xbutton.button != 1) ) {
task_drag = click_task(panel, e->xbutton.x, e->xbutton.y);
if (!task_drag && !click_clock(panel, e->xbutton.x, e->xbutton.y) ) {
*/
task_drag = click_task(panel, e->xbutton.x, e->xbutton.y);
if (wm_menu && !task_drag && !click_clock(panel, e->xbutton.x, e->xbutton.y) && (e->xbutton.button != 1) ) {