From nobody@FreeBSD.org  Thu Oct 31 01:13:08 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id D861595E
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Oct 2013 01:13:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id C6C31220A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Oct 2013 01:13:08 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9V1D8Fg022659
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Oct 2013 01:13:08 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9V1D8TV022653;
	Thu, 31 Oct 2013 01:13:08 GMT
	(envelope-from nobody)
Message-Id: <201310310113.r9V1D8TV022653@oldred.freebsd.org>
Date: Thu, 31 Oct 2013 01:13:08 GMT
From: Johannes Lundberg <johannes@brilliantservice.co.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Borderless window's rendering order wrong with Intel KMS
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183507
>Category:       misc
>Synopsis:       Borderless window's rendering order wrong with Intel KMS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 31 01:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Johannes Lundberg
>Release:        10.0 BETA1
>Organization:
BRILLANTSERVICE CO., LTD.
>Environment:
FreeBSD PC1-12-0007 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256420: Sun Oct 13 03:46:18 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
On a system with X11 and openbox window manager windows get render in correct order as long as they have border (window decorations). If I create a borderless window and configure it to stay always on top, it stays on top of other windows that have a border but it does not stay on top of windows that are borderless.

Same result if run without window manager.

On a machine with Intel HD4000 graphics this happens only with the Intel driver. This problem does NOT occur with vesa driver or on vmware with vmware driver.

This problem did not exist in HEAD about two months ago. 

>How-To-Repeat:
Open two borderless x11 windows, configure window 1 to stay always on top and give focus to window 2. Window 2 should stay behind window 1 but it does not.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
