Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 1 commit
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 28, 2018
Showing with 4 additions and 2 deletions.
  1. +3 −1 src/Options.cpp
  2. +1 −1 src/Options.h
@@ -78,7 +78,9 @@ void Options::Load()
message.FindRect("wind_rect", &wind_rect);
message.FindMessage("columnsState", &columnsState);
int8 tmp;
if (message.FindInt8("workspace_activation", &((int8)workspace_activation)) != B_OK)
if (message.FindInt8("workspace_activation", &tmp) == B_OK)
workspace_activation = static_cast<workspace_type>(tmp);
else
workspace_activation = current_workspace;
if (message.FindInt32("workspaces", &workspaces) != B_OK)
workspaces = 1;
@@ -24,7 +24,7 @@

struct Options {
int32 refresh;
enum {
enum workspace_type {
current_workspace,
all_workspaces,
saved_workspace

No commit comments for this range

You can’t perform that action at this time.