Rev 2987 | Rev 4288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2987 | Rev 3555 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2010-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2010-2012. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 2987 $ |
8 | $Revision: 3555 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
10 | include 'mousepointer.inc' |
10 | include 'mousepointer.inc' |
Line 64... | Line 64... | ||
64 | call mouse._.activate_sys_window_under_cursor |
64 | call mouse._.activate_sys_window_under_cursor |
Line 65... | Line 65... | ||
65 | 65 | ||
66 | ; NOTE: this code wouldn't be necessary if we knew window did |
66 | ; NOTE: this code wouldn't be necessary if we knew window did |
67 | ; already redraw itself after call above |
67 | ; already redraw itself after call above |
68 | or eax, eax |
- | |
69 | jz @f |
- | |
70 | - | ||
71 | and [mouse.state.buttons], 0 |
68 | or eax, eax |
Line 72... | Line 69... | ||
72 | jmp .exit |
69 | jnz .exit |
73 | - | ||
74 | ; is there any system button under cursor? |
70 | |
75 | @@: |
71 | ; is there any system button under cursor? |
76 | call mouse._.find_sys_button_under_cursor |
72 | call mouse._.find_sys_button_under_cursor |
Line 77... | Line 73... | ||
77 | or eax, eax |
73 | or eax, eax |