From owner-svn-ports-all@FreeBSD.ORG Tue Feb 10 17:19:13 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FBCF5AA; Tue, 10 Feb 2015 17:19:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A91DA73; Tue, 10 Feb 2015 17:19:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1AHJDrj011492; Tue, 10 Feb 2015 17:19:13 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1AHJCsN011490; Tue, 10 Feb 2015 17:19:12 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201502101719.t1AHJCsN011490@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 10 Feb 2015 17:19:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378787 - in head/emulators/xsystem35: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2015 17:19:13 -0000 Author: jbeich Date: Tue Feb 10 17:19:12 2015 New Revision: 378787 URL: https://svnweb.freebsd.org/changeset/ports/378787 QAT: https://qat.redports.org/buildarchive/r378787/ Log: Set WM_CLASS to manage under tiling WMs Approved by: mentors (implicit) Added: head/emulators/xsystem35/files/patch-wmclass (contents, props changed) Modified: head/emulators/xsystem35/Makefile Modified: head/emulators/xsystem35/Makefile ============================================================================== --- head/emulators/xsystem35/Makefile Tue Feb 10 17:13:44 2015 (r378786) +++ head/emulators/xsystem35/Makefile Tue Feb 10 17:19:12 2015 (r378787) @@ -3,7 +3,7 @@ PORTNAME= xsystem35 DISTVERSION= 1.7.3-pre5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators games MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${DISTVERSION}.orig Added: head/emulators/xsystem35/files/patch-wmclass ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/xsystem35/files/patch-wmclass Tue Feb 10 17:19:12 2015 (r378787) @@ -0,0 +1,15 @@ +Origin: https://gist.github.com/smly/5787574 + +--- src/xcore_video.c.orig 2003-06-29 15:28:12 UTC ++++ src/xcore_video.c +@@ -307,6 +307,10 @@ static void init_window(void) { + 0, WIN_DEPTH, + InputOutput, x11_visual, attrib_mask, &at); + } ++ XClassHint wm_class; ++ wm_class.res_name = "XSystem35"; ++ wm_class.res_class = "XSystem35"; ++ XSetClassHint( x11_display, x11_window, &wm_class ); + + /* determin dib depth candidate */ + dib_depth_candidate = (depth == 16 && vinfo.red_mask == 0x7c00) ? 15: WIN_DEPTH;