From: Dana Jansens Date: Sat, 20 Apr 2002 18:13:55 +0000 (+0000) Subject: comment typo and function spacing fix X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=874d0ea446daac149e6b4b572f7e7196a855c8b9;p=chaz%2Fopenbox comment typo and function spacing fix --- diff --git a/src/Screen.cc b/src/Screen.cc index 0548f5ac..10c092d3 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -847,6 +847,7 @@ XFontSet BScreen::createFontSet(const char *fontname) { return fs; } + void BScreen::setSloppyFocus(bool b) { resource.sloppy_focus = b; ostrstream s; @@ -858,6 +859,7 @@ void BScreen::setSloppyFocus(bool b) { s.rdbuf()->freeze(0); } + void BScreen::setAutoRaise(bool a) { resource.auto_raise = a; ostrstream s; @@ -869,6 +871,7 @@ void BScreen::setAutoRaise(bool a) { s.rdbuf()->freeze(0); } + void BScreen::setImageDither(bool d) { resource.image_dither = d; ostrstream s; @@ -877,6 +880,7 @@ void BScreen::setImageDither(bool d) { s.rdbuf()->freeze(0); } + void BScreen::setOpaqueMove(bool o) { resource.opaque_move = o; ostrstream s; @@ -885,6 +889,7 @@ void BScreen::setOpaqueMove(bool o) { s.rdbuf()->freeze(0); } + void BScreen::setFullMax(bool f) { resource.full_max = f; ostrstream s; @@ -893,6 +898,7 @@ void BScreen::setFullMax(bool f) { s.rdbuf()->freeze(0); } + void BScreen::setFocusNew(bool f) { resource.focus_new = f; ostrstream s; @@ -901,6 +907,7 @@ void BScreen::setFocusNew(bool f) { s.rdbuf()->freeze(0); } + void BScreen::setFocusLast(bool f) { resource.focus_last = f; ostrstream s; @@ -909,6 +916,7 @@ void BScreen::setFocusLast(bool f) { s.rdbuf()->freeze(0); } + void BScreen::setWindowZones(int z) { resource.zones = z; ostrstream s; @@ -917,6 +925,7 @@ void BScreen::setWindowZones(int z) { s.rdbuf()->freeze(0); } + void BScreen::setWorkspaceCount(int w) { resource.workspaces = w; ostrstream s; @@ -925,6 +934,7 @@ void BScreen::setWorkspaceCount(int w) { s.rdbuf()->freeze(0); } + void BScreen::setPlacementPolicy(int p) { resource.placement_policy = p; ostrstream s; @@ -941,6 +951,7 @@ void BScreen::setPlacementPolicy(int p) { s.rdbuf()->freeze(0); } + void BScreen::setEdgeSnapThreshold(int t) { resource.edge_snap_threshold = t; ostrstream s; @@ -949,6 +960,7 @@ void BScreen::setEdgeSnapThreshold(int t) { s.rdbuf()->freeze(0); } + void BScreen::setRowPlacementDirection(int d) { resource.row_direction = d; ostrstream s; @@ -960,6 +972,7 @@ void BScreen::setRowPlacementDirection(int d) { s.rdbuf()->freeze(0); } + void BScreen::setColPlacementDirection(int d) { resource.col_direction = d; ostrstream s; @@ -971,6 +984,7 @@ void BScreen::setColPlacementDirection(int d) { s.rdbuf()->freeze(0); } + void BScreen::setRootCommand(const char *cmd) { if (resource.root_command != NULL) delete [] resource.root_command; @@ -980,8 +994,10 @@ if (resource.root_command != NULL) 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)