From: Dana Jansens Date: Sun, 13 May 2007 03:24:29 +0000 (+0000) Subject: add "Bottom" context too. just make Handle and Bottom synonomous. X-Git-Tag: openbox-3_3_991-RELEASE~59 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=cc98061dbcb1fd63eb0d29e42e85dac8a585366a;p=dana%2Fopenbox.git add "Bottom" context too. just make Handle and Bottom synonomous. --- diff --git a/data/rc.xsd b/data/rc.xsd index 75251763..d883e8bf 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -341,6 +341,7 @@ + diff --git a/openbox/config.c b/openbox/config.c index 75a60ff7..6a45005d 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -748,7 +748,7 @@ static void bind_default_mouse() { "Middle", "Desktop", OB_MOUSE_ACTION_PRESS, "Focus" }, { "Right", "Desktop", OB_MOUSE_ACTION_PRESS, "Focus" }, { "Left", "Titlebar", OB_MOUSE_ACTION_PRESS, "Focus" }, - { "Left", "Handle", OB_MOUSE_ACTION_PRESS, "Focus" }, + { "Left", "Bottom", OB_MOUSE_ACTION_PRESS, "Focus" }, { "Left", "BLCorner", OB_MOUSE_ACTION_PRESS, "Focus" }, { "Left", "BRCorner", OB_MOUSE_ACTION_PRESS, "Focus" }, { "Left", "TLCorner", OB_MOUSE_ACTION_PRESS, "Focus" }, diff --git a/openbox/frame.c b/openbox/frame.c index 44fea5bc..16c879e9 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -836,6 +836,8 @@ ObFrameContext frame_context_from_string(const gchar *name) return OB_FRAME_CONTEXT_TOP; else if (!g_ascii_strcasecmp("Handle", name)) return OB_FRAME_CONTEXT_BOTTOM; + else if (!g_ascii_strcasecmp("Bottom", name)) + return OB_FRAME_CONTEXT_BOTTOM; else if (!g_ascii_strcasecmp("Maximize", name)) return OB_FRAME_CONTEXT_MAXIMIZE; else if (!g_ascii_strcasecmp("AllDesktops", name))