~ubuntu-mate-dev/compiz/mate-tweak

« back to all changes in this revision

Viewing changes to gtk/window-decorator/gwd-theme-metacity.c

  • Committer: Bileto Bot
  • Author(s): Alberts Muktupāvels
  • Date: 2017-04-27 06:39:20 UTC
  • mfrom: (4105.4.1 compiz)
  • Revision ID: ci-train-bot@canonical.com-20170427063920-2ljogsttmfv1vxc0
Ensure that surfaces used by metacity theme have device scale set to 1 (LP: #1530277). (LP: #1530277)

Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
879
879
    cairo_destroy (cr);
880
880
 
881
881
    surface = create_surface (fgeom.width, fgeom.height, style_window);
 
882
    cairo_surface_set_device_scale (surface, 1, 1);
882
883
    cr = cairo_create (surface);
883
884
 
884
885
    src = XRenderCreatePicture (xdisplay, cairo_xlib_surface_get_drawable (surface),