diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-22 00:24:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-22 00:24:06 +0000 |
| commit | c5508ec16f094847781188812784eb312d691401 (patch) | |
| tree | 09b7bb9f08fe1c0ce4bbd23ae08ec1e5b1684514 | |
| parent | f0940aba6425248dfde918f89f4decfa9dbc041a (diff) | |
we put desktop windows on all desktops so dont let them move.
make sure the window can move/resize when shutting down and restoring its geometry
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index ed005ee7..94b5c480 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -649,6 +649,8 @@ void client_unmanage(ObClient *self) } self->fullscreen = self->max_horz = self->max_vert = FALSE; + /* let it be moved and resized no matter what */ + self->functions = OB_CLIENT_FUNC_MOVE | OB_CLIENT_FUNC_RESIZE; self->decorations = 0; /* unmanaged windows have no decor */ client_move_resize(self, a.x, a.y, a.width, a.height); @@ -3097,7 +3099,7 @@ void client_set_desktop_recursive(ObClient *self, guint old; GSList *it; - if (target != self->desktop) { + if (target != self->desktop && self->type != OB_CLIENT_TYPE_DESKTOP) { ob_debug("Setting desktop %u\n", target+1); |
