Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Nemkin2020-01-22 16:49:55 -0500
committerNikita Nemkin2020-01-25 06:07:24 -0500
commit023d007f7773a264857e5cc9500e6d35a52a2ae1 (patch)
tree0a5049600d5ae1557ed1b8a8ad4193c9ae258485 /examples
parent29efcd671ed1ecb10edb5e11ae9fc76a3c14ed1b (diff)
downloadeclipse.platform.swt-023d007f7773a264857e5cc9500e6d35a52a2ae1.tar.gz
eclipse.platform.swt-023d007f7773a264857e5cc9500e6d35a52a2ae1.tar.xz
eclipse.platform.swt-023d007f7773a264857e5cc9500e6d35a52a2ae1.zip
Bug 526357 - [GTK] Cursor lookup failure causes "No more handles"
Remove legacy cursor IDs, load cursors by name. Use legacy X cursor names if possible, because they are the most compatible between various cursor themes. Also, if a theme cursor isn't available, libXcursor can fall back to legacy X Font cursor (only on X11). If loading fails, always use an arrow cursor as a fallback. Note: GTK 3.18+ has a bug, when changing cursor themes on-the-fly corrupts loaded cursors that were present in the old theme but are missing from the new theme. This is likely to happen for "sb_up_arrow" and "crossed_circle", which aren't universally available. Change-Id: I9eba830f75e7fccc36401363d7dbad81ff32f6e0 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions

Back to the top