X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Fdecorator.c;h=add812cfeadfd955291a57062570526f53d3b480;hb=2238e69eea50d2274553926f3f294822c1972ff0;hp=d0dd2640370962f38e0ac4fdb06dd7a52b6c2d8a;hpb=9f005838b3165a84f6ed2a6cb6336be8ec9920d4;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/decorator.c b/Usermode/Applications/axwin3_src/WM/decorator.c index d0dd2640..add812cf 100644 --- a/Usermode/Applications/axwin3_src/WM/decorator.c +++ b/Usermode/Applications/axwin3_src/WM/decorator.c @@ -162,7 +162,7 @@ int Decorator_HandleMessage(tWindow *Window, int Message, int Length, const void case WNDMSG_MOUSEMOVE: { const struct sWndMsg_MouseMove *msg = Data; - if( btn1_down == Window ) + if( Window && btn1_down == Window ) { switch(btn1_mode) {