Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 382033
Collapse All | Expand All

(-)biew-610.orig/events.c (-1 / +5 lines)
Lines 118-124 Link Here
118
                    }
118
                    }
119
                    else
119
                    else
120
                    {
120
                    {
121
                      X1 = 0; X2 = twGetClientWidth(MainWnd); Y1 = 1; Y2 = twGetClientHeight(MainWnd) - 1;
121
                      TWindow *wnd =
122
                              MainWnd ? MainWnd :  /*XXX:drop this line?*/
123
                              twGetWinAtPos(mx, my);
124
                      if(!wnd) return KE_MOUSE;
125
                      X1 = 0; X2 = twGetClientWidth(wnd); Y1 = 1; Y2 = twGetClientHeight(wnd) - 1;
122
                    }
126
                    }
123
                    wdh = X2 - X1;
127
                    wdh = X2 - X1;
124
                    hght = Y2 - Y1;
128
                    hght = Y2 - Y1;

Return to bug 382033