Skip to content

Commit

Permalink
don't recreate window models if window forwarding is disabled
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@19484 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 27, 2018
1 parent d9952df commit 5b2b0f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xpra/server/shadow/gtk_shadow_server_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# Xpra is released under the terms of the GNU GPL v2, or, at your option, any
# later version. See the file COPYING for details.

import os

from xpra.log import Logger
traylog = Logger("tray")
mouselog = Logger("mouse")
Expand Down Expand Up @@ -101,7 +99,9 @@ def refresh(self):
def send_updated_screen_size(self):
log("send_updated_screen_size")
GTKServerBase.send_updated_screen_size(self)
self.recreate_window_models()
from xpra.server import server_features
if server_features.windows:
self.recreate_window_models()

def recreate_window_models(self):
#remove all existing models and re-create them:
Expand Down

0 comments on commit 5b2b0f6

Please sign in to comment.