xpra icon
Bug tracker and wiki

Ticket #533: quartz-style-fix.patch

File quartz-style-fix.patch, 531 bytes (added by Antoine Martin, 5 years ago)

blatant bug caught by newer versions of gcc / clang

  • src/quartz-style.c

    old new  
    15701570      else
    15711571        draw_info.state = kThemeMenuActive;
    15721572
    1573       item_rect = CGRectMake (x1, y, x2-x1, height);
    15741573
    15751574      toplevel = gtk_widget_get_toplevel (widget);
    15761575      gdk_window_get_size (toplevel->window, &width, &height);
     1576      item_rect = CGRectMake (x1, y, x2-x1, height);
    15771577      menu_rect = CGRectMake (0, 0, width, height);
    15781578
    15791579      context = get_context (window, area);