aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-18 11:00:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-18 11:00:36 +0000
commit403a7b916584dc9f443fd366e605e0d5b1c5541c (patch)
treee8348d5dec2f2df79ff93214359f576b4b5d374d
parent18ab9c7e4ffcb066b25281172ea82947bd56cb86 (diff)
downloadmatchbox-window-manager-2-403a7b916584dc9f443fd366e605e0d5b1c5541c.tar.gz
matchbox-window-manager-2-403a7b916584dc9f443fd366e605e0d5b1c5541c.tar.bz2
matchbox-window-manager-2-403a7b916584dc9f443fd366e605e0d5b1c5541c.zip
mb-window-manager.c Fix variable type in _NET_WORKAREA code
According to XChangeProperty doc, array of "long" should be used when format is 32. This patch changes the variable to the correct type. Thanks to Zhai Edwin <edwin.zhai@intel.com> for spotting this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--matchbox/core/mb-window-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/matchbox/core/mb-window-manager.c b/matchbox/core/mb-window-manager.c
index c1a19f2..3b5afee 100644
--- a/matchbox/core/mb-window-manager.c
+++ b/matchbox/core/mb-window-manager.c
@@ -1408,7 +1408,7 @@ mb_wm_update_root_win_rectangles (MBWindowManager *wm)
Display * dpy = wm->xdpy;
Window root = wm->root_win->xwindow;
MBGeometry d_geom;
- CARD32 val[4];
+ long val[4];
mb_wm_get_desktop_geometry (wm, &d_geom);