/[oroborus]/oroborus/src/workspaces.c
ViewVC logotype

Diff of /oroborus/src/workspaces.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by dreamind, Mon Jan 20 09:43:38 2003 UTC revision 1.12 by dreamind, Mon Feb 10 01:53:11 2003 UTC
# Line 38  workspaceSwitch (int new_ws, Client * c2 Line 38  workspaceSwitch (int new_ws, Client * c2
38          if (new_ws < 0 || new_ws > workspace_count - 1 || new_ws == workspace)          if (new_ws < 0 || new_ws > workspace_count - 1 || new_ws == workspace)
39                  return;                  return;
40    
41            workspace = new_ws;
42          f = clientGetFocus ();          f = clientGetFocus ();
43          if (f)          if (f)
44                  f->focus = True;                  f->focus = True;
# Line 49  workspaceSwitch (int new_ws, Client * c2 Line 50  workspaceSwitch (int new_ws, Client * c2
50                          c2->win_workspace = new_ws;                          c2->win_workspace = new_ws;
51                  }                  }
52    
         workspace = new_ws;  
53          for (c = clients, i = 0; i < client_count; c = c->next, i++)          for (c = clients, i = 0; i < client_count; c = c->next, i++)
54                  {                  {
55                          if (c->win_state & WIN_STATE_STICKY)                          if (c->win_state & WIN_STATE_STICKY)
# Line 75  workspaceSwitch (int new_ws, Client * c2 Line 75  workspaceSwitch (int new_ws, Client * c2
75          if (c2)          if (c2)
76                  f = c2;                  f = c2;
77          clientSetFocus (f, True);          clientSetFocus (f, True);
78            clientRaise(f);
79  }  }
80    
81  void  void

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26