Skip to content

Commit

Permalink
Use new cairocffi/xcb support
Browse files Browse the repository at this point in the history
  • Loading branch information
flacjacket committed Aug 7, 2014
1 parent 0287a72 commit 2b852ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ install:
# Installl git xcffib
- pip install xcffib
# Install cairocffi w/xcffib support
- git clone -b xcffib https://github.com/tych0/cairocffi.git
- git clone -b xcb https://github.com/flacjacket/cairocffi.git
- pushd cairocffi
- pip install .
- popd
Expand Down
3 changes: 2 additions & 1 deletion libqtile/drawer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import collections
import math
import cairocffi
import cairocffi.xcb
import xcffib.xproto

from . import pangocffi
Expand Down Expand Up @@ -185,7 +186,7 @@ def __init__(self, qtile, wid, width, height):
self.qtile.conn.default_screen.white_pixel
]
)
self.surface = cairocffi.XCBSurface(
self.surface = cairocffi.xcb.XCBSurface(
qtile.conn.conn,
self.pixmap,
self.find_root_visual(),
Expand Down

0 comments on commit 2b852ff

Please sign in to comment.