! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfwm4 won't unredirect fullscreen windows when SDL 1.3 or 2.0 are used.
Status:
RESOLVED: WONTFIX
Severity:
critical

Comments

Description Paulo Narciso 2012-09-18 23:21:26 CEST
Xfwm4 won't unredirect fullscreen windows when SDL 1.3 or 2.0 are used.

This was tested with Trine 2 which use SDL 1.3 and Torchlight which use 2.0.

Performance are worse normal and there's tearing even with vsync.

When disabling compositor performance and vsync go back to normal.

SDL 1.2 applications are properly dealt with Xfwm4, so performance and tearing issues are nonexistent.
Comment 1 Olivier Fourdan editbugs 2012-10-11 20:03:30 CEST
Can you provide a simple C reproducer? I don't play games...
Comment 2 Olivier Fourdan editbugs 2015-01-09 08:47:08 CET
This commit here:

http://lists.libsdl.org/pipermail/commits-libsdl.org/2011-February/012224.html

Shows that SDL no longer use override redirect windows but regular windows for fullscreen.

Unredirection of fullscreen windows is only for override redirect.  We cannot unredirect _regular_ windows when fullscreen, that would break all compositing with normal windows when fullscreen.

There is no way to fix this.
Comment 3 Olivier Fourdan editbugs 2015-05-21 09:00:59 CEST
*** Bug 10051 has been marked as a duplicate of this bug. ***

Bug #9314

Reported by:
Paulo Narciso
Reported on: 2012-09-18
Last modified on: 2015-05-21
Duplicates (1):
  • 10051 Feature request: Allow auto-disabling compositing on fullscreen apps/games

People

Assignee:
Olivier Fourdan
CC List:
2 users

Version

Version:
4.10.0

Attachments

Additional information