Skip to content

Commit 3a39304

Browse files
committed
use the correct attribute
1 parent 01af369 commit 3a39304

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

html5/js/Client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3174,7 +3174,7 @@ class XpraClient {
31743174
);
31753175
if (this.server_is_desktop || this.server_is_shadow) {
31763176
window.noWindowList();
3177-
} else if (win && win.has_decorations) {
3177+
} else if (win && win.decorations) {
31783178
const trimmedTitle = Utilities.trimString(win.title, 30);
31793179
window.addWindowListItem(win, wid, trimmedTitle);
31803180
}
@@ -3311,7 +3311,7 @@ class XpraClient {
33113311
_process_lost_window(packet) {
33123312
const wid = packet[1];
33133313
const win = this.id_to_window[wid];
3314-
if (win && win.has_decorations) {
3314+
if (win && win.decorations) {
33153315
window.removeWindowListItem(wid);
33163316
}
33173317
try {

0 commit comments

Comments
 (0)