search for: setgeometry

Displaying 4 results from an estimated 4 matches for "setgeometry".

2009 Feb 25
1
[PATCH] CompRect more intuitive
Hi, Compiz++ uses CompRegion instead of XRectangle, right? This patch tries to improve CompRect usability *First* I was using CompRect, but I've found that the only way to modify a CompRect is using setGeometry function: void CompOutput::setGeometry (int x1, int x2, int y1, int y2); So I created setX1, setY1, setX2, setY2 functions *Second* As you can see above, setGeometry uses: (x1,x2,y1,y2). I'm proposing to change to setGeometry (x1,y1,x2,y2) A Rectangle is defined by two points (x1,y1) and (...
2010 Jul 26
5
[RFC/PATCH] New chainloading functionality
...n: * update the "drive unit" field in a FAT/NTFS boot sector. Offset should * be either 0x24 (FAT/NTFS excluding FAT32) or 0x40 (FAT32 only) - * chainloader won't accept other values. Offset is parsed as a *HEX* * number. Offsetless value defaults to 0x24. 6) setgeometry - for legacy spt and heads fields in BPB 7) setbpb * A shortcut that enables set{hidden,geometry} options; * setdrive is not covered by this shortcut, due to the ambiguity. 8) writebs, filebpb * writebs * Write updated boot sector to the disk. This is performed only * i...
2010 Jul 20
1
Possible improvements for chain.c
...with unbootable windows (and simple hexedit /dev/whateverN to adjust values of heads and sectors-per-track fixed the issue). Anyway, I was thinking about extending chain.c32 code a bit to do following when "sethidden" option is specified (or better add extra options - such as "setgeometry", "setdrive" and "setbpb" (equivalent of all options specified) - to keep it more flexible): - update hidden sectors field (as it does currently) - at 0x1C - update sectors-per-track and heads fields (if cbios data is valid) - at 0x18 and 0x1A respectively - update drive...
2014 Nov 24
1
Contributor Contributions
I have made claims that I have not left the compiz project and that I have been maintaining it over the past 4 years, despite the lack of releases by not fault but my own. At the request of some of the original compiz developers, I am now posting a compilation of some of the contributions I've made over time, since the beginning. Since the most important contributions are code and easiest to