[Bug 5113] New: Wine allows programs to change X resolution,
doesn't fix.
Wine Bugs
wine-bugs at winehq.org
Sat Apr 22 09:56:41 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=5113
Summary: Wine allows programs to change X resolution, doesn't
fix.
Product: Wine
Version: CVS
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-loader
AssignedTo: wine-bugs at winehq.org
ReportedBy: nospam at thenerdshow.com
Wine allows all Windows full-screen programs (games mostly) to change the X
screen resolution. Most do not correctly restore it. This is a problem with
Windows as well as wine. We can fix it in wine, however by running wine with a
wrapper to check screen resolution, like so:
============================ smartwine.sh ====
#/bin/sh
size=$(sudo xrandr | grep \* | cut -b2)
wine $@
#For testing. Purposefully set X to a different resolution.
#xrandr -s 1
newsize=$(sudo xrandr | grep \* | cut -b2)
if [ $size <> $newsize ]; then echo "Wine has changed X resolution. Fixing it..."
fi
xrandr -s $size
=================================
Shouldn't this functionality be built in to wine, however?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list