From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzNhR-0008Ee-SH for qemu-devel@nongnu.org; Fri, 12 Dec 2014 05:43:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzNhL-0003Jp-My for qemu-devel@nongnu.org; Fri, 12 Dec 2014 05:43:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzNhL-0003Jc-Fr for qemu-devel@nongnu.org; Fri, 12 Dec 2014 05:43:47 -0500 Message-ID: <1418381023.23141.6.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Fri, 12 Dec 2014 11:43:43 +0100 In-Reply-To: <5489B313.80706@redhat.com> References: <1418294973-21790-1-git-send-email-kraxel@redhat.com> <1418294973-21790-7-git-send-email-kraxel@redhat.com> <5489B313.80706@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 06/10] sdl2: overhaul window size handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Anthony Liguori Hi, > > @@ -439,12 +424,14 @@ static void handle_keydown(SDL_Event *ev) > > 160); > > height = (surface_height(scon->surface) * width) / > > surface_width(scon->surface); > > - > > + fprintf(stderr, "%s: scale to %dx%d\n", > > + __func__, width, height); > > I forgot to ask: What's the reason for this fprintf()? Thanks to "#if 0" > it doesn't do anything, but it seems kind of strange if this block would > not be commented out... Just a debug printf. Will go away when this code gets re-enabled. cheers, Gerd