On Fri, 24 Jun 2016, Matthew R. Trower wrote:

> This code wraps DtXinerama for now; I have some plans to additionally
> support RandR through the same interface in the future.
>
>
> =Addresses=
>
> * maximization
> * sane initial window placement (for most windows)
>

Applied, thanks!

> Firefox is strange situation. When maximized, it expands to double the
> X Screen width even on single head displays.  This patch fixes this
> behavior on multihead, so I'd guess maxWidth gets set wrong on creation.
> Will require more investigation.
>
>
> =Improvements to be made=
>
> Apparently some windows, such as the dtmail preferences dialog, are
> spawned using different placement code.  That one just appears at
> origin. I'd welcome information regarding other anomalies, or places
> where CDE breaks with multihead.
>
> There's some disagreement regarding integer coordinate types
> (see code comment WmMultiHead.c:91) which causes compiler warnings.
> Please advise on a proper resolution as time allows.
>

Yeah, that one's weird.  IIRC the X11 protocol only allows for a
maximum of 32K width and height for an X11 screen, hence the use of
short. I'm not sure whether thats changed in future versions of X11 --
I tend to doubt it.

> My Imakefile additions get the job done, but may not match convention.
>

Those should be fine for the short term - the issue is if someone
does not want to build in the Xinerama support.  It should probably be
wrapped like it's done in dtlogin/Imakefile:

#if CDE_USEXINERAMA
XINOPT = -DUSE_XINERAMA
XINLIB = -lDtXinerama -lXinerama
#endif

...
EXTRA_DEFINES = $(XINOPT)
LOGINXLIB = $(XLIB) $(XINLIB)

Feel free to make that change (or equivalent) and supply a patch.  I
think most people would want Xinerama support, but it should be
goverend by the cf/site.def which is where it is typically
enabled/disabled for a build (#define CDE_USEXINERAMA ...).


-- 
Jon Trulson

"If we can hit that bull's-eye, the rest of the dominoes will fall
like a house of cards... Checkmate."
                                         -- Zapp Brannigan

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to