diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-26 20:03:57 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-26 20:03:57 +0000 |
| commit | ad29434250f6c34ed2af8f99bed7a4e8d6b5053b (patch) | |
| tree | 0f88b22fcc66c43428db182e2723c6f7b8c27ef5 /openbox | |
| parent | 90445487e12635f68393d0093f1a03f1ee57f0e2 (diff) | |
remove the dialog options
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/config.c | 18 | ||||
| -rw-r--r-- | openbox/config.h | 5 | ||||
| -rw-r--r-- | openbox/focus.c | 2 | ||||
| -rw-r--r-- | openbox/screen.c | 2 |
4 files changed, 2 insertions, 25 deletions
diff --git a/openbox/config.c b/openbox/config.c index d72cce8d..16b0be4d 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -343,19 +343,6 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d) } } -static void parse_dialog(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) -{ - xmlNodePtr n; - - node = node->children; - - if ((n = parse_find_node("focus", node))) - config_dialog_focus = parse_bool(doc, n); - if ((n = parse_find_node("desktop", node))) - config_dialog_desktop = parse_bool(doc, n); -} - static void parse_menu(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d) { for (node = node->children; node; node = node->next) { @@ -542,11 +529,6 @@ void config_startup(ObParseInst *i) parse_register(i, "resistance", parse_resistance, NULL); - config_dialog_focus = TRUE; - config_dialog_desktop = TRUE; - - parse_register(i, "dialog", parse_dialog, NULL); - config_menu_files = NULL; parse_register(i, "menu", parse_menu, NULL); diff --git a/openbox/config.h b/openbox/config.h index c8c85eb8..0c14b376 100644 --- a/openbox/config.h +++ b/openbox/config.h @@ -93,11 +93,6 @@ extern gint config_resist_win; /*! Number of pixels to resist while crossing a screen's edge */ extern gint config_resist_edge; -/*! Show a dialog while cycling focus between windows */ -extern gboolean config_dialog_focus; -/*! Show a dialogs while switching between desktops */ -extern gboolean config_dialog_desktop; - /*! User-specified menu files */ extern GSList *config_menu_files; diff --git a/openbox/focus.c b/openbox/focus.c index 302c4fc4..b6d294bb 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -232,7 +232,7 @@ void focus_fallback(ObFocusFallbackType type) static void popup_cycle(ObClient *c, gboolean show) { - if (!show || !config_dialog_focus) { + if (!show) { icon_popup_hide(focus_cycle_popup); } else { Rect *a; diff --git a/openbox/screen.c b/openbox/screen.c index 628d0344..a8f3b71c 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -572,7 +572,7 @@ void screen_desktop_popup(guint d, gboolean show) { Rect *a; - if (!show || !config_dialog_desktop) { + if (!show) { pager_popup_hide(desktop_cycle_popup); } else { a = screen_physical_area_monitor(0); |
