static void newgeometry(void) {
int dummy;
- unsigned int udummy, gotwidth, gotheight;
Window dummyw;
- XGetGeometry(disp,win, &dummyw,&dummy,&dummy, &gotwidth,&gotheight,
- &udummy,&udummy);
- assert(gotwidth < INT_MAX);
- assert(gotheight < INT_MAX);
- width = gotwidth;
- height = gotheight;
+ XGetGeometry(disp,win, &dummyw,&dummy,&dummy, &width,&height, &dummy,&dummy);
}
static void eventloop(void) {
- Option -debug produces some debugging output.
- In the code, rename pix_... variables to be named after the meaning
rather than the default colour.
- - Get rid of some signed/unsigned warnings.
* Fix the build-depends to refer to nettle-dev not libnettle-dev.
* Add ${misc:Depends} to Depends: lines. Causes no change to the .debs.