Skip to content

Commit

Permalink
we don't support windows XP anymore
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@21774 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 21, 2019
1 parent b971cd2 commit 4597041
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/xpra/platform/win32/gdi_screen_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,7 @@
SIMPLEREGION : "the region is a single rectangle",
COMPLEXREGION : "the region is more than a single rectangle",
}
DISABLE_DWM_COMPOSITION = True
#no composition on XP, don't bother trying:
try:
from sys import getwindowsversion #@UnresolvedImport
if getwindowsversion().major<6:
DISABLE_DWM_COMPOSITION = False
except:
pass
DISABLE_DWM_COMPOSITION = envbool("XPRA_DISABLE_DWM_COMPOSITION", DISABLE_DWM_COMPOSITION)
DISABLE_DWM_COMPOSITION = envbool("XPRA_DISABLE_DWM_COMPOSITION", False)

class PALETTEENTRY(ctypes.Structure):
_fields_ = [
Expand Down

0 comments on commit 4597041

Please sign in to comment.