Skip to content

Commit

Permalink
Added missing method
Browse files Browse the repository at this point in the history
  • Loading branch information
emvaized committed Aug 17, 2022
1 parent 949f5fe commit 442404d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion contents/ui/code/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ function selectClient(client){
/// listeners
function addListenersToClient(client) {
client.frameGeometryChanged.connect(function() {
if (!client.move && !client.resize && activated == false && preventFromShowing == false) onWindowResize(client);
if (!client.move && !client.resize && activated == false && preventFromShowing == false) {
if (delayBeforeShowingAssist == 0) {
onWindowResize(client);
} else {
timer.setTimeout(function(){
onWindowResize(client);
}, delayBeforeShowingAssist);
}
}
});

client.clientStartUserMovedResized.connect(function(cl){
Expand Down

0 comments on commit 442404d

Please sign in to comment.