Navigation Menu

Skip to content

Commit

Permalink
split core/minimal server functionality into a new base class
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@4325 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 11, 2013
1 parent 865c396 commit 8744a53
Show file tree
Hide file tree
Showing 5 changed files with 421 additions and 289 deletions.
6 changes: 4 additions & 2 deletions src/xpra/scripts/server.py
Expand Up @@ -467,7 +467,8 @@ def xvfb_error(instance_exists=False):
xvfb_pid = None #we don't own the display
from xpra.platform.shadow_server import ShadowServer
app = ShadowServer()
app.init(sockets, opts)
app.init(opts)
app.init_sockets(sockets)
else:
from xpra.x11.gtk_x11 import gdk_display_source
assert gdk_display_source
Expand Down Expand Up @@ -497,7 +498,8 @@ def xvfb_error(instance_exists=False):
log.error("Xpra is a compositing manager, it cannot use a display which lacks the XComposite extension!")
return 1
app = XpraServer()
app.init(clobber, sockets, opts)
app.init(clobber, opts)
app.init_sockets(sockets)


if xvfb_pid is not None:
Expand Down

0 comments on commit 8744a53

Please sign in to comment.