aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2014-09-08 21:15:14 +0000
committerokan2014-09-08 21:15:14 +0000
commit793ad81495bd915b0baf0c165ad95f0058936336 (patch)
tree307c340db07cc31ea34a4e11000aac4f096becfd /client.c
parent274be703fd0e3e60bedca665e59471b5e0f64de8 (diff)
downloadcwm-793ad81495bd915b0baf0c165ad95f0058936336.tar.gz
name the group client queue appropriately, like other queues
Diffstat (limited to '')
-rw-r--r--client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/client.c b/client.c
index 6c27085..c2e13db 100644
--- a/client.c
+++ b/client.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: client.c,v 1.179 2014/09/08 20:37:02 okan Exp $
+ * $OpenBSD: client.c,v 1.180 2014/09/08 21:15:14 okan Exp $
*/
#include <sys/param.h>
@@ -154,7 +154,7 @@ client_delete(struct client_ctx *cc)
xu_ewmh_net_client_list(sc);
if (cc->group != NULL)
- TAILQ_REMOVE(&cc->group->clients, cc, group_entry);
+ TAILQ_REMOVE(&cc->group->clientq, cc, group_entry);
if (cc == client_current())
client_none(sc);
@@ -943,7 +943,7 @@ client_htile(struct client_ctx *cc)
return;
i = n = 0;
- TAILQ_FOREACH(ci, &gc->clients, group_entry) {
+ TAILQ_FOREACH(ci, &gc->clientq, group_entry) {
if (ci->flags & CLIENT_HIDDEN ||
ci->flags & CLIENT_IGNORE || (ci == cc))
continue;
@@ -971,7 +971,7 @@ client_htile(struct client_ctx *cc)
x = xine.x;
w = xine.w / n;
h = xine.h - mh;
- TAILQ_FOREACH(ci, &gc->clients, group_entry) {
+ TAILQ_FOREACH(ci, &gc->clientq, group_entry) {
if (ci->flags & CLIENT_HIDDEN ||
ci->flags & CLIENT_IGNORE || (ci == cc))
continue;
@@ -1002,7 +1002,7 @@ client_vtile(struct client_ctx *cc)
return;
i = n = 0;
- TAILQ_FOREACH(ci, &gc->clients, group_entry) {
+ TAILQ_FOREACH(ci, &gc->clientq, group_entry) {
if (ci->flags & CLIENT_HIDDEN ||
ci->flags & CLIENT_IGNORE || (ci == cc))
continue;
@@ -1030,7 +1030,7 @@ client_vtile(struct client_ctx *cc)
y = xine.y;
h = xine.h / n;
w = xine.w - mw;
- TAILQ_FOREACH(ci, &gc->clients, group_entry) {
+ TAILQ_FOREACH(ci, &gc->clientq, group_entry) {
if (ci->flags & CLIENT_HIDDEN ||
ci->flags & CLIENT_IGNORE || (ci == cc))
continue;