summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-11 12:47:59 -0500
committerDana Jansens <danakj@orodu.net>2010-01-11 12:47:59 -0500
commit12653a4153bccd5d9a46998753e7a1bc17479505 (patch)
tree908a1f8891306e42b055ca167530cf0195136647 /openbox/client.c
parentd3a01a40f35cb3ae6c5ad8329291e86e2e599691 (diff)
Redraw the focus cycle popup when the list of focusable windows changes, rather than closing it
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c
index e3a7d6ec..ae87ff0b 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -304,6 +304,7 @@ void client_manage(Window window, ObPrompt *prompt)
self->obwin.type = Window_Client;
self->window = window;
self->prompt = prompt;
+ self->managed = TRUE;
/* non-zero defaults */
self->wmstate = WithdrawnState; /* make sure it gets updated first time */
@@ -633,6 +634,8 @@ void client_unmanage(ObClient *self)
mouse_grab_for_client(self, FALSE);
+ self->managed = FALSE;
+
/* remove the window from our save set, unless we are managing an internal
ObPrompt window */
if (!self->prompt)