return fs;
}
+
void BScreen::setSloppyFocus(bool b) {
resource.sloppy_focus = b;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setAutoRaise(bool a) {
resource.auto_raise = a;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setImageDither(bool d) {
resource.image_dither = d;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setOpaqueMove(bool o) {
resource.opaque_move = o;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setFullMax(bool f) {
resource.full_max = f;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setFocusNew(bool f) {
resource.focus_new = f;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setFocusLast(bool f) {
resource.focus_last = f;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setWindowZones(int z) {
resource.zones = z;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setWorkspaceCount(int w) {
resource.workspaces = w;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setPlacementPolicy(int p) {
resource.placement_policy = p;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setEdgeSnapThreshold(int t) {
resource.edge_snap_threshold = t;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setRowPlacementDirection(int d) {
resource.row_direction = d;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setColPlacementDirection(int d) {
resource.col_direction = d;
ostrstream s;
s.rdbuf()->freeze(0);
}
+
void BScreen::setRootCommand(const char *cmd) {
if (resource.root_command != NULL)
delete [] resource.root_command;
resource.root_command = NULL;
// this doesn't save to the Resources config because it can't be changed
// inside Openbox, and this way we dont add an empty command which would over-
- // ride the styles commend when none has been specified
+ // ride the styles command when none has been specified
}
+
+
#ifdef HAVE_STRFTIME
void BScreen::setStrftimeFormat(const char *f) {
if (resource.strftime_format != NULL)