Skip to content
Snippets Groups Projects
  • Martin Matuska's avatar
    05d12e12
    Change brightness level from glong to gint32 · 05d12e12
    Martin Matuska authored and Nick Schermer's avatar Nick Schermer committed
    The "Backlight" RandR property is a 32-bit integer. This means that the int32 (gint32) type should be used to represent brightness levels. The attached patch does nothing else than changing the brightness level representation from glong to gint32. This fixes the screen auto-dimming issue and brightness panel plugin issue.
    05d12e12
    History
    Change brightness level from glong to gint32
    Martin Matuska authored and Nick Schermer's avatar Nick Schermer committed
    The "Backlight" RandR property is a 32-bit integer. This means that the int32 (gint32) type should be used to represent brightness levels. The attached patch does nothing else than changing the brightness level representation from glong to gint32. This fixes the screen auto-dimming issue and brightness panel plugin issue.