After updating SWT to 4.36 (commit f71c29bace8ce579470b29e8e2aeca99e43f632a) the dpi scaling on X11/GTK fails, e.g. via GDK_SCALE=2 environment variable. ## DPIUtil.autoScaleUp() and `useCairoAutoScale` The (new) GTK implementation sets `useCairoAutoScale` to true, avoiding scaling the window-coordinates up. Hence we have to duplicate the scaleUp/scaleDown using the device scale-factor. ## GTK Scrollable.getClientAreaInPixels() SWTAccessor.getClientAreaInPixels() uses Scrollable.getClientAreaInPixels(), however the current GTK implementation doesn't returned the scaled value. Hence we have to autoScaleUp.
Resolved as described