/usr/lib/python2.7/dist-packages/xpra/client/gtk2/client_window.py is in xpra 0.17.6+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # This file is part of Xpra.
# Copyright (C) 2011 Serviware (Arthur Huillet, <ahuillet@serviware.com>)
# Copyright (C) 2010-2014 Antoine Martin <antoine@devloop.org.uk>
# Copyright (C) 2008, 2010 Nathaniel Smith <njs@pobox.com>
# 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.client.gtk2.gtk2_window_base import GTK2WindowBase
USE_CAIRO = os.environ.get("XPRA_USE_CAIRO_BACKING", "0")=="1"
if USE_CAIRO:
from xpra.client.gtk2.cairo_backing import CairoBacking
BACKING_CLASS = CairoBacking
else:
from xpra.client.gtk2.pixmap_backing import PixmapBacking
BACKING_CLASS = PixmapBacking
"""
Actual instantiable plain GTK2 Client Window,
either using CairoBacking or PixmapBacking.
"""
class ClientWindow(GTK2WindowBase):
def get_backing_class(self):
return BACKING_CLASS
|