diff options
author | falkTX <falktx@falktx.com> | 2022-05-27 00:30:12 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-24 19:47:25 -0500 |
commit | cdfb8223301faba2c478c805b35ca457e6547629 (patch) | |
tree | f024df90192e74ff11f1e9eeb766825758f9f691 /src/x11.c | |
parent | ebf23245ce3dff82d804c957ad928fe11457311f (diff) | |
download | pugl-cdfb8223301faba2c478c805b35ca457e6547629.tar.gz pugl-cdfb8223301faba2c478c805b35ca457e6547629.tar.bz2 pugl-cdfb8223301faba2c478c805b35ca457e6547629.zip |
Add diagonal cursors
Diffstat (limited to 'src/x11.c')
-rw-r--r-- | src/x11.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,7 +66,7 @@ enum WmClientStateMessageAction { WM_STATE_TOGGLE }; -#define NUM_CURSORS ((unsigned)PUGL_CURSOR_UP_DOWN + 1U) +#define NUM_CURSORS ((unsigned)PUGL_CURSOR_UP_RIGHT_DOWN_LEFT + 1U) #ifdef HAVE_XCURSOR static const char* const cursor_names[NUM_CURSORS] = { @@ -76,7 +76,9 @@ static const char* const cursor_names[NUM_CURSORS] = { "pointer", // HAND "not-allowed", // NO "sb_h_double_arrow", // LEFT_RIGHT - "sb_v_double_arrow" // UP_DOWN + "sb_v_double_arrow", // UP_DOWN + "size_fdiag", // UP_LEFT_DOWN_RIGHT + "size_bdiag", // UP_RIGHT_DOWN_LEFT }; #endif |