do not maximize windows of unresizable styles (bug #17)
git-svn-id: svn://kolibrios.org@1526 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b227b900a4
commit
ed3624b9f1
@ -1036,10 +1036,10 @@ sys_window_maximize_handler: ;/////////////////////////////////////////////////
|
||||
add edi, window_data
|
||||
|
||||
; can window change its height?
|
||||
; only types 2 and 3 can be resized
|
||||
mov dl, [edi + WDATA.fl_wstyle]
|
||||
and dl, 0x0f
|
||||
cmp dl, 0x04
|
||||
je .exit
|
||||
test dl, 2
|
||||
jz .exit
|
||||
|
||||
; toggle normal/maximized window state
|
||||
mov bl, [edi + WDATA.fl_wstate]
|
||||
|
Loading…
Reference in New Issue
Block a user