walter harms
2014-02-09 16:05:13 UTC
hi List,
i got some warnings about "strict anti-aliasing". It was easy to fix and should not
break other things.
re,
wh
--- Colorset.c~ 2008-02-05 22:04:47.000000000 +0100
+++ Colorset.c 2013-12-22 21:54:48.000000000 +0100
@@ -233,12 +233,13 @@
{
Pixmap pixmap = None;
Pixmap mask = None;
- XID junk;
+ int junk;
+ XID root;
if (0 == width || 0 == height)
{
if (!XGetGeometry(
- dpy, win, &junk, (int *)&junk, (int *)&junk,
+ dpy, win, &root, (int *)&junk, (int *)&junk,
(unsigned int *)&width, (unsigned int *)&height,
(unsigned int *)&junk, (unsigned int *)&junk))
{
@@ -423,12 +424,13 @@
if (CSETS_IS_TRANSPARENT_ROOT_PURE(colorset))
{
/* check if it is still here */
- XID dummy;
+ int dummy;
+ XID root;
/* a priori we should grab the server, but this
* cause PositiveWrite error when you move a
* window with a transparent title bar */
if (!XGetGeometry(
- dpy, colorset->pixmap, &dummy,
+ dpy, colorset->pixmap, &root,
(int *)&dummy, (int *)&dummy,
(unsigned int *)&w, (unsigned int *)&h,
(unsigned int *)&dummy,
i got some warnings about "strict anti-aliasing". It was easy to fix and should not
break other things.
re,
wh
--- Colorset.c~ 2008-02-05 22:04:47.000000000 +0100
+++ Colorset.c 2013-12-22 21:54:48.000000000 +0100
@@ -233,12 +233,13 @@
{
Pixmap pixmap = None;
Pixmap mask = None;
- XID junk;
+ int junk;
+ XID root;
if (0 == width || 0 == height)
{
if (!XGetGeometry(
- dpy, win, &junk, (int *)&junk, (int *)&junk,
+ dpy, win, &root, (int *)&junk, (int *)&junk,
(unsigned int *)&width, (unsigned int *)&height,
(unsigned int *)&junk, (unsigned int *)&junk))
{
@@ -423,12 +424,13 @@
if (CSETS_IS_TRANSPARENT_ROOT_PURE(colorset))
{
/* check if it is still here */
- XID dummy;
+ int dummy;
+ XID root;
/* a priori we should grab the server, but this
* cause PositiveWrite error when you move a
* window with a transparent title bar */
if (!XGetGeometry(
- dpy, colorset->pixmap, &dummy,
+ dpy, colorset->pixmap, &root,
(int *)&dummy, (int *)&dummy,
(unsigned int *)&w, (unsigned int *)&h,
(unsigned int *)&dummy,