gdk: Include a default cursor as resource

Provide a fallback cursor of last resort. Otherwise,
we end up with no visible cursor if there is no
cursor theme installed, wihch is less than helpful.
This commit is contained in:
Matthias Clasen 2020-04-26 14:41:52 -04:00
parent 7ca8efa0f5
commit 7eeeb3f229
2 changed files with 1 additions and 1 deletions

BIN
gdk/default_cursor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -25,7 +25,7 @@ srcdir = sys.argv[1]
xml = '''<?xml version='1.0' encoding='UTF-8'?>
<gresources>
<gresource prefix='/org/gtk/libgdk'>
<file alias='cursor/default'>default_cursor.png</file>
'''
def get_files(subdir,extension):