From 709ebbb6a2f0ba834e8af54bd2d1f5917919791e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 May 2007 22:56:29 +0000 Subject: [PATCH] let you move splash screens if you are so inclined --- openbox/client.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openbox/client.c b/openbox/client.c index 0084588c..8c8abee7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1599,10 +1599,15 @@ void client_setup_decor_and_functions(ObClient *self) self->functions &= ~(OB_CLIENT_FUNC_ICONIFY | OB_CLIENT_FUNC_RESIZE); break; + case OB_CLIENT_TYPE_SPLASH: + /* these don't get get any decorations, and the only thing you can + do with them is move them */ + self->decorations = 0; + self->functions = OB_CLIENT_FUNC_MOVE; + case OB_CLIENT_TYPE_DESKTOP: case OB_CLIENT_TYPE_DOCK: - case OB_CLIENT_TYPE_SPLASH: - /* none of these windows are manipulated by the window manager */ + /* these windows are not manipulated by the window manager */ self->decorations = 0; self->functions = 0; break; -- 2.45.2