summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-11 09:46:07 -0500
committerDana Jansens <danakj@orodu.net>2008-01-11 09:46:07 -0500
commit9e9a7e124d1a80579281c5ab2ffc3574f38f9eba (patch)
tree9032ec7494f61300d3163b1a79a16d1ca766d174 /openbox/client.c
parent40ed213d4bdbb8c6cb5690a902433725cf97f693 (diff)
allow dialog windows to be fullscreened, kpdf does this
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index d0fed545..1e2040fd 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1634,11 +1634,16 @@ void client_setup_decor_and_functions(ObClient *self, gboolean reconfig)
switch (self->type) {
case OB_CLIENT_TYPE_NORMAL:
/* normal windows retain all of the possible decorations and
- functionality, and are the only windows that you can fullscreen */
+ functionality, and can be fullscreen */
self->functions |= OB_CLIENT_FUNC_FULLSCREEN;
break;
case OB_CLIENT_TYPE_DIALOG:
+ /* sometimes apps make dialog windows fullscreen for some reason (for
+ e.g. kpdf does this..) */
+ self->functions |= OB_CLIENT_FUNC_FULLSCREEN;
+ break;
+
case OB_CLIENT_TYPE_UTILITY:
/* these windows don't have anything added or removed by default */
break;