diff options
author | Mike Chen <chenke@deepin.org> | 2023-09-15 09:10:41 +0800 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2023-11-02 05:59:49 +0000 |
commit | 9161f66a496c7e6043e0670286f64d6fd95472c8 (patch) | |
tree | 27b9620b27515bcf54eec66f453aea723b51f041 /src/tools/uic/cpp/cppwriteinitialization.cpp | |
parent | 78272c667f008f6afcf5f84e0add525b56c3a558 (diff) |
xcb: unset states and set new ones as need
Should not unset all the old state and set the new ones.
Only unset the state that needs to be unset.
If states changes from maximized to minimized, there is no need to
unset the maximized state and set the maximized states again.
(minimized and maximized can exist simultaneously :)
This amends f61b140482d9578c07410a5979379e44e05352e5 .
Pick-to: 6.6 6.5 6.2
Change-Id: Ic93122b92fafcdba973b885e299b282408da7a1c
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions