aboutsummaryrefslogtreecommitdiffhomepage
path: root/freedowm.py
diff options
context:
space:
mode:
Diffstat (limited to 'freedowm.py')
-rw-r--r--freedowm.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/freedowm.py b/freedowm.py
index 1a04088..7833ccb 100644
--- a/freedowm.py
+++ b/freedowm.py
@@ -41,6 +41,12 @@ class FreedoWM(object):
self.monitors = []
self.monitor_id = self.zero_coordinate = self.x_center = self.y_center = 0
+ # Set cursor
+ font = self.display.open_font('cursor')
+ cursor = font.create_glyph_cursor(font, int(self.general["CURSOR"]), int(self.general["CURSOR"]) + 1,
+ (65535, 65535, 65535), (0, 0, 0))
+ self.root.change_attributes(cursor=cursor)
+
self.get_monitors()
self.set_listeners()
self.root.warp_pointer(0, 0)