X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fconfig.c;h=c007de5368c0ea114cfc12a5a85b777676630112;hb=4c7119f94fe6accb43770aba1a220bed7c627b79;hp=e94827036f7c17cebab28ec9d3b50a4def98c030;hpb=193ca2197a1276ca5a34bbf25b71df656ac964bf;p=chaz%2Fopenbox diff --git a/openbox/config.c b/openbox/config.c index e9482703..c007de53 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -38,7 +38,6 @@ ObPlacePolicy config_place_policy; gchar *config_theme; gboolean config_theme_keepborder; -gboolean config_theme_hidedisabled; gchar *config_title_layout; @@ -78,7 +77,6 @@ guint config_keyboard_reset_state; gint config_mouse_threshold; gint config_mouse_dclicktime; -gboolean config_menu_warppointer; guint config_menu_hide_delay; gboolean config_menu_middle; guint config_submenu_show_delay; @@ -88,7 +86,6 @@ GSList *config_menu_files; gint config_resist_win; gint config_resist_edge; -gboolean config_resist_layers_below; GSList *config_per_app_settings; @@ -478,8 +475,6 @@ static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, } if ((n = parse_find_node("keepBorder", node))) config_theme_keepborder = parse_bool(doc, n); - if ((n = parse_find_node("hideDisabled", node))) - config_theme_hidedisabled = parse_bool(doc, n); if ((n = parse_find_node("animateIconify", node))) config_animate_iconify = parse_bool(doc, n); @@ -708,8 +703,6 @@ static void parse_resistance(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, config_resist_win = parse_int(doc, n); if ((n = parse_find_node("screen_edge_strength", node))) config_resist_edge = parse_int(doc, n); - if ((n = parse_find_node("edges_hit_layers_below", node))) - config_resist_layers_below = parse_bool(doc, n); } typedef struct @@ -754,7 +747,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" }, @@ -768,7 +761,6 @@ static void bind_default_mouse() { "Left", "Client", OB_MOUSE_ACTION_CLICK, "Raise" }, { "Left", "Titlebar", OB_MOUSE_ACTION_CLICK, "Raise" }, { "Middle", "Titlebar", OB_MOUSE_ACTION_CLICK, "Lower" }, - { "Left", "Handle", OB_MOUSE_ACTION_CLICK, "Raise" }, { "Left", "BLCorner", OB_MOUSE_ACTION_CLICK, "Raise" }, { "Left", "BRCorner", OB_MOUSE_ACTION_CLICK, "Raise" }, { "Left", "TLCorner", OB_MOUSE_ACTION_CLICK, "Raise" }, @@ -834,7 +826,6 @@ void config_startup(ObParseInst *i) config_animate_iconify = TRUE; config_title_layout = g_strdup("NLIMC"); config_theme_keepborder = TRUE; - config_theme_hidedisabled = FALSE; config_font_activewindow = NULL; config_font_inactivewindow = NULL; @@ -887,11 +878,9 @@ void config_startup(ObParseInst *i) config_resist_win = 10; config_resist_edge = 20; - config_resist_layers_below = FALSE; parse_register(i, "resistance", parse_resistance, NULL); - config_menu_warppointer = TRUE; config_menu_hide_delay = 250; config_menu_middle = FALSE; config_submenu_show_delay = 0;