]>
Commit | Line | Data |
---|---|---|
5d710efc | 1 | diff -urN fvwm-2.5.12.vanilla/modules/FvwmPager/x_pager.c fvwm-2.5.12/modules/FvwmPager/x_pager.c |
2 | --- fvwm-2.5.12.vanilla/modules/FvwmPager/x_pager.c 2004-09-27 12:32:20.000000000 +0200 | |
3 | +++ fvwm-2.5.12/modules/FvwmPager/x_pager.c 2005-02-21 21:47:10.254445160 +0100 | |
4 | @@ -1078,6 +1078,29 @@ | |
be66d6a9 | 5 | else if((Event->xbutton.button == 1)|| |
6 | (Event->xbutton.button == 2)) | |
7 | { | |
8 | + if( (Event->xbutton.button == 1) && | |
9 | + (Event->xbutton.subwindow != None) ) | |
10 | + { | |
11 | + PagerWindow *t; | |
12 | + | |
13 | + t = Start; | |
14 | + while ((t != NULL)&&(t->PagerView != Event->xbutton.subwindow)) | |
15 | + t= t->next; | |
16 | + | |
17 | + if(t==NULL) | |
18 | + { | |
19 | + t = Start; | |
20 | + while ((t != NULL)&&(t->IconView != Event->xbutton.subwindow)) | |
21 | + t= t->next; | |
22 | + } | |
23 | + | |
24 | + if( t ) | |
25 | + { | |
26 | + SendText(fd, "Silent Raise", t->w); | |
27 | + SendText(fd, "Silent Focus", t->w); | |
28 | + } | |
29 | + } | |
30 | + | |
31 | for(i=0;i<ndesks;i++) | |
32 | { | |
33 | if(Event->xany.window == Desks[i].w) |