Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2015 17:19:12 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378787 - in head/emulators/xsystem35: . files
Message-ID:  <201502101719.t1AHJCsN011490@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502101719.t1AHJCsN011490>