From owner-svn-ports-all@freebsd.org Mon Jan 6 14:00:49 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C9471E25FC; Mon, 6 Jan 2020 14:00:49 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47rxxF04pvz3GcQ; Mon, 6 Jan 2020 14:00:49 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F2492F6F7; Mon, 6 Jan 2020 14:00:48 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 006E0mI0078861; Mon, 6 Jan 2020 14:00:48 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 006E0mxM078859; Mon, 6 Jan 2020 14:00:48 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202001061400.006E0mxM078859@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 6 Jan 2020 14:00:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522232 - in head/x11-wm/cage: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/x11-wm/cage: . files X-SVN-Commit-Revision: 522232 X-SVN-Commit-Repository: ports 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.29 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: Mon, 06 Jan 2020 14:00:49 -0000 Author: jbeich Date: Mon Jan 6 14:00:48 2020 New Revision: 522232 URL: https://svnweb.freebsd.org/changeset/ports/522232 Log: x11-wm/cage: fix DRM session after r521656 After VT switch nothing was rendered. From debug log before/after: [backend/drm/drm.c:1485] Requesting modeset for 'DP-1' +[backend/drm/drm.c:697] Modesetting 'DP-1' with '3840x2160@60000 mHz' +[backend/drm/drm.c:592] Initializing renderer on connector 'DP-1' +[GLES2] FS SIMD8 shader: 5 inst, 0 loops, 24 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes. +[GLES2] FS SIMD16 shader: 5 inst, 0 loops, 34 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes. +[GLES2] VS SIMD8 shader: 28 inst, 0 loops, 116 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 448 to 336 bytes. +[GLES2] FS SIMD16 shader: 2 inst, 0 loops, 0 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 32 to 32 bytes. Modified: head/x11-wm/cage/Makefile (contents, props changed) head/x11-wm/cage/files/patch-wlroots-0.9 (contents, props changed) Modified: head/x11-wm/cage/Makefile ============================================================================== --- head/x11-wm/cage/Makefile Mon Jan 6 13:56:31 2020 (r522231) +++ head/x11-wm/cage/Makefile Mon Jan 6 14:00:48 2020 (r522232) @@ -3,7 +3,7 @@ PORTNAME= cage DISTVERSIONPREFIX= v DISTVERSION= 0.1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11-wm MAINTAINER= jbeich@FreeBSD.org Modified: head/x11-wm/cage/files/patch-wlroots-0.9 ============================================================================== --- head/x11-wm/cage/files/patch-wlroots-0.9 Mon Jan 6 13:56:31 2020 (r522231) +++ head/x11-wm/cage/files/patch-wlroots-0.9 Mon Jan 6 14:00:48 2020 (r522232) @@ -1,4 +1,5 @@ https://github.com/Hjdskes/cage/commit/33bb3c818c59 +https://github.com/Hjdskes/cage/commit/51e6c760da51 --- cage.c.orig 2019-06-03 17:55:52 UTC +++ cage.c @@ -18,3 +19,15 @@ https://github.com/Hjdskes/cage/commit/33bb3c818c59 wlr_output_layout_destroy(server.output_layout); /* This function is not null-safe, but we only ever get here with a proper wl_display. */ +--- output.c.orig 2019-06-03 17:55:52 UTC ++++ output.c +@@ -386,6 +386,9 @@ handle_new_output(struct wl_listener *listener, void * + /* Place the cursor in the center of the screen. */ + wlr_cursor_warp(server->seat->cursor, NULL, wlr_output->width / 2, wlr_output->height / 2); + wlr_output_damage_add_whole(server->output->damage); ++ ++ wlr_output_enable(wlr_output, true); ++ wlr_output_commit(wlr_output); + } + + void