mirror of https://gitee.com/openkylin/kwin.git
Fix: #225098 首次开启火绒安全,出现的安全提示弹窗在拖动时消失
This commit is contained in:
parent
808e4a7a9d
commit
0a4982d88a
|
@ -20,6 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
"use strict";
|
||||
|
||||
const blacklist = [
|
||||
"hipstray hipstray", //火绒安全-安全提示
|
||||
];
|
||||
|
||||
var scaleTooltipEffect = {
|
||||
loadConfig: function (window) {
|
||||
scaleTooltipEffect.inDuration = effect.readConfig("inDuration", 200) || 200;
|
||||
|
@ -42,6 +46,9 @@ var scaleTooltipEffect = {
|
|||
if (!(window.tooltip && window.visible)) {
|
||||
return;
|
||||
}
|
||||
if (blacklist.indexOf(window.windowClass) != -1) {
|
||||
return;
|
||||
}
|
||||
if (effects.hasActiveFullScreenEffect) {
|
||||
return;
|
||||
}
|
||||
|
@ -70,6 +77,9 @@ var scaleTooltipEffect = {
|
|||
if (!(window.tooltip && window.visible)) {
|
||||
return;
|
||||
}
|
||||
if (blacklist.indexOf(window.windowClass) != -1) {
|
||||
return;
|
||||
}
|
||||
if (effects.hasActiveFullScreenEffect) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue