From 0914406c65646538be27855e2c889b3a3bafa05e Mon Sep 17 00:00:00 2001 From: Benoit Gschwind (Noth Date: Sun, 17 Feb 2008 11:54:29 +0100 Subject: [PATCH] Remove keep border option It will be a part of theme option ? --- engines/default/plugin.c | 6 +++--- openbox/engine_interface.c | 2 +- openbox/engine_interface.h | 7 +------ 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/engines/default/plugin.c b/engines/default/plugin.c index 794e373..4f587d6 100644 --- a/engines/default/plugin.c +++ b/engines/default/plugin.c @@ -810,8 +810,8 @@ void frame_update_layout(gpointer _self, gboolean is_resize, gboolean is_fake) /* do this before changing the frame's status like max_horz max_vert */ frame_adjust_cursors(self); - if (self->decorations & OB_FRAME_DECOR_BORDER - || (plugin.config_theme_keepborder)) { + if (self->decorations & OB_FRAME_DECOR_BORDER) { +/* || (plugin.config_theme_keepborder)) { */ self->bwidth = theme_config.fbwidth; } else { @@ -1914,7 +1914,7 @@ ObFramePlugin plugin = { //0, //Display * ob_display; //0, //gint ob_screen; //0, //RrInstance *ob_rr_inst; - 0, //gboolean config_theme_keepborder; + //0, //gboolean config_theme_keepborder; 0, //struct _ObClient *focus_cycle_target; 0, //gchar *config_title_layout; FALSE, //gboolean moveresize_in_progress; diff --git a/openbox/engine_interface.c b/openbox/engine_interface.c index 3f8348f..d3f76c0 100644 --- a/openbox/engine_interface.c +++ b/openbox/engine_interface.c @@ -91,7 +91,7 @@ void update_frame_plugin(ObFramePlugin * self) //self->ob_display = obt_display; //self->ob_screen = ob_screen; //self->ob_rr_inst = ob_rr_inst; - self->config_theme_keepborder = config_theme_keepborder; + //self->config_theme_keepborder = config_theme_keepborder; self->config_title_layout = config_title_layout; self->ob_main_loop = ob_main_loop; } diff --git a/openbox/engine_interface.h b/openbox/engine_interface.h index 2968ebd..6840095 100644 --- a/openbox/engine_interface.h +++ b/openbox/engine_interface.h @@ -196,12 +196,7 @@ struct _ObFramePlugin RrFont *menu_item_font, RrFont *osd_font); /* Filled by openbox-core */ - //Display * ob_display; - //gint ob_screen; - //RrInstance *ob_rr_inst; - // Not more needed - //struct _RrTheme * ob_rr_theme; - gboolean config_theme_keepborder; + //gboolean config_theme_keepborder; struct _ObClient *focus_cycle_target; gchar *config_title_layout; gboolean moveresize_in_progress; -- 1.5.3.7