[hackers] [wmii] Set _NET_NUMBER_OF_DESKTOPS properly. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Mon, 25 Jan 2010 07:01:42 +0000 (UTC)

changeset: 2600:5973799cd90a
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Mon Jan 25 02:01:19 2010 -0500
files: cmd/wmii/ewmh.c
description:
Set _NET_NUMBER_OF_DESKTOPS properly.

diff -r c1f273cf361d -r 5973799cd90a cmd/wmii/ewmh.c
--- a/cmd/wmii/ewmh.c Sat Jan 23 20:16:10 2010 -0500
+++ b/cmd/wmii/ewmh.c Mon Jan 25 02:01:19 2010 -0500
@@ -488,7 +488,7 @@
                 return;
 
         vector_pinit(&tags);
- for(v=view, i=0; v; v=v->next)
+ for(v=view, i=0; v; v=v->next, i++)
                 vector_ppush(&tags, v->name);
         vector_ppush(&tags, nil);
         changeprop_textlist(&scr.root, Net("DESKTOP_NAMES"), "UTF8_STRING", (char**)tags.ary);
Received on Mon Jan 25 2010 - 07:01:42 UTC

This archive was generated by hypermail 2.2.0 : Mon Jan 25 2010 - 07:12:10 UTC