Skip to content

Commit

Permalink
don't import all model class hierarchy for just one constant
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@12982 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 11, 2016
1 parent a9d2d38 commit b29451a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/x11/x11_server_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def get_cursor_data(self):


def get_max_screen_size(self):
from xpra.x11.gtk2.window import MAX_WINDOW_SIZE
from xpra.x11.gtk2.models import MAX_WINDOW_SIZE
max_w, max_h = self.root_window.get_size()
sizes = RandR.get_screen_sizes()
if self.randr and len(sizes)>=1:
Expand Down

0 comments on commit b29451a

Please sign in to comment.