Skip to content

Commit

Permalink
#263 fix name clash: structure vs debugging flag can't use the same n…
Browse files Browse the repository at this point in the history
…ame!

git-svn-id: https://xpra.org/svn/Xpra/trunk@9444 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 18, 2015
1 parent 4dc3cb2 commit 2428366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/platform/win32/window_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ class MINMAXINFO(ctypes.Structure):


import os
MINMAXINFO = os.environ.get("XPRA_WIN32_MINMAXINFO", "1")=="1"
HOOK_MINMAXINFO = os.environ.get("XPRA_WIN32_MINMAXINFO", "1")=="1"


class Win32Hooks(object):

def __init__(self, hwnd):
self._hwnd = hwnd
self._message_map = {}
if MINMAXINFO:
if HOOK_MINMAXINFO:
self._message_map[win32con.WM_GETMINMAXINFO] = self.on_getminmaxinfo
self.max_size = None
try:
Expand Down

0 comments on commit 2428366

Please sign in to comment.