From ff39f02c38f738168644fc38a7ad526bf16c2ab7 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 4 Nov 2004 12:13:25 +0000 Subject: add an option to resize with 4 corners as it was long ago and make the default 9 "corners" with the middle corner being move. that way you only need one mod+button to move and resize windows --- openbox/config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/config.c') diff --git a/openbox/config.c b/openbox/config.c index 4dac22d8..cc44e129 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -43,6 +43,7 @@ GSList *config_desktops_names; gint config_screen_firstdesk; gboolean config_resize_redraw; +gboolean config_resize_four_corners; gint config_resize_popup_show; gint config_resize_popup_pos; @@ -300,6 +301,8 @@ static void parse_resize(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, if ((n = parse_find_node("drawContents", node))) config_resize_redraw = parse_bool(doc, n); + if ((n = parse_find_node("fourCorner", node))) + config_resize_four_corners = parse_bool(doc, n); if ((n = parse_find_node("popupShow", node))) { config_resize_popup_show = parse_int(doc, n); if (parse_contains("Always", doc, n)) @@ -559,6 +562,7 @@ void config_startup(ObParseInst *i) parse_register(i, "desktops", parse_desktops, NULL); config_resize_redraw = TRUE; + config_resize_four_corners = FALSE; config_resize_popup_show = 1; /* nonpixel increments */ config_resize_popup_pos = 0; /* center of client */ -- cgit v1.2.3