Hi all,

I'm a newbie here, and I was wondering if anyone is interested in a
patch to fix the Xglamo rotation DPI issue ?  This is not my area of
development, but it was a significant frustration to me.  So I
developed a fix, it's probably not all needed, but it works : screen
size in mm is maintained with proper rotation so DPI is not altered
(fixes gtk program fonts).  I know Xorg / glamo development is ongoing
and kdrive / glamo is dead, but untill Xorg / glamo is stable I won't
be using it.  I have attached a diff of my changes if anyone is
interested

Also, I don't know how I should submit the fix.  Any help would be great.

Zak
z...@moko:~$ diff glamo.c.new glamo.c.old
309d308
<       int w = pScreen->mmWidth, h = pScreen->mmHeight;
363,365d361
<               int tmp = w;
<               var.width = pScreen->mmWidth = w = h;
<               var.height = pScreen->mmHeight = h = tmp;
369,370d364
<               var.width = w;
<               var.height = h;
440,441c434,435
<       pScreen->mmWidth = w;
<       pScreen->mmHeight = h;
---
>       pScreen->mmWidth = priv->var.width;
>       pScreen->mmHeight = priv->var.height;

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to