fix using wrong type for _NET_WORKAREA for 64 bits, may exist other bugs like this
This commit is contained in:
parent
93598589f1
commit
148ef741e1
1 changed files with 2 additions and 2 deletions
|
@ -969,7 +969,7 @@ screen_area_add_strut_bottom(const StrutPartial *s, const Rect *monitor_area,
|
|||
void screen_update_areas()
|
||||
{
|
||||
guint i, x;
|
||||
guint32 *dims;
|
||||
long *dims;
|
||||
GList *it;
|
||||
gint o;
|
||||
|
||||
|
@ -987,7 +987,7 @@ void screen_update_areas()
|
|||
area[i] = g_new0(Rect, screen_num_monitors + 1);
|
||||
area[i] = NULL;
|
||||
|
||||
dims = g_new(guint32, 4 * screen_num_desktops);
|
||||
dims = g_new(long, 4 * screen_num_desktops);
|
||||
|
||||
for (i = 0; i < screen_num_desktops + 1; ++i) {
|
||||
Strut *struts;
|
||||
|
|
Loading…
Reference in a new issue