[gnome-desktop] Fill out ScreenInfo structs sufficiently without reprobing, too
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-desktop] Fill out ScreenInfo structs sufficiently without reprobing, too
- Date: Tue, 28 Apr 2009 19:36:44 -0400 (EDT)
commit 3f811a611185a3bdbb6b6d4c19590bd26ae1dc82
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 28 19:34:44 2009 -0400
Fill out ScreenInfo structs sufficiently without reprobing, too
This fixes the symptoms described in bug 578111 where rotations
get lost after applying one rotation. Thanks for Federicos help
in tracking this down.
---
libgnome-desktop/gnome-rr.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index 0f1c9c1..0b95e3a 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -329,6 +329,11 @@ fill_out_screen_info (Display *xdisplay,
}
else
{
+ gnome_rr_screen_get_ranges (info->screen,
+ &(info->min_width),
+ &(info->max_width),
+ &(info->min_height),
+ &(info->max_height));
/* XRRGetScreenResourcesCurrent is less expensive than
* XRRGetScreenResources, however it is available only
* in RandR 1.3 or higher
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]