[hackers] [wmii] Don't make a window fullscreen based on size if it sets an EWMH type.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sun Feb 03 23:47:00 2008

changeset: 2277:d30dd7887635
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Feb 03 17:45:28 2008 -0500
summary: Don't make a window fullscreen based on size if it sets an EWMH type.

diff -r b7cd578b14a3 -r d30dd7887635 cmd/wmii/client.c
--- a/cmd/wmii/client.c Sun Feb 03 17:14:41 2008 -0500
+++ b/cmd/wmii/client.c Sun Feb 03 17:45:28 2008 -0500
@@ -164,6 +164,7 @@ client_manage(Client *c) {
 
         if(Dx(c->r) == Dx(screen->r))
         if(Dy(c->r) == Dy(screen->r))
+ if(c->w.ewmh.type == 0)
                 fullscreen(c, true);
 
         tags = getprop_string(&c->w, "_WMII_TAGS");
Received on Sun Feb 03 2008 - 23:47:00 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:17 UTC