diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2004-11-04 12:13:25 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2004-11-04 12:13:25 +0000 |
| commit | ff39f02c38f738168644fc38a7ad526bf16c2ab7 (patch) | |
| tree | b21635bb179b00cacc926dff0c3aabf3171cb93b /openbox/config.c | |
| parent | ed4c6995ca199e5d015f1ca90654b4030c7ea760 (diff) | |
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
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |
