gnustep / libs-back

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
50 stars 34 forks source link

Align screens origin to OpenStep coordinate system. #21

Closed trunkmaster closed 4 years ago

trunkmaster commented 4 years ago

Transform screen origin into unflipped (OpenStep) coordinate system for XRandR capable systems. After this change windows and screen will use the same start of coordinate system for their origins.

trunkmaster commented 4 years ago

You should merge in master first. I already did some clean up on that branch that needs to be included here.

Great, thank you. But you've broke the logic of code. The old code logic was: if XRandR failed to get screen info (screen_re->noutput == 0) we failback to old approach - one screen and its Xlib screen. But I'll fix it later.

Could you please make you changes through the PR in the future?