Skip to content

Improve key rendering and eliminate two deprecation warnings

Administrator requested to merge improve-key-rendering into master

fixes (at least partially) #15 (closed) and #23 (closed)

  • Replace two calls to deprecated gdk_cairo_create()

  • Alleviate asymmetry between rendering pressed and released keys by consistenly clipping the same area up front to avoid artefacts

  • make sure pressed and released keys are shown immediately by calling gdk_window_invalidate_rect()

  • improve consistency between render_(pressed|locked|released)_key

  • improve code flow

Merge request reports