Skip to content
Snippets Groups Projects
Commit 8b0c3ad7 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Window focus bug when switching desktops.

(Old svn revision: 10744)
parent 6b515c1f
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ int workspace;
void workspaceSwitch(int new_ws, Client * c2)
{
Client *c, *f = NULL;
Client *last;
Client *last, *previous;
unsigned long data[1];
int i;
......@@ -58,10 +58,10 @@ void workspaceSwitch(int new_ws, Client * c2)
return;
}
f = clientGetFocus();
if(f)
previous = clientGetFocus();
if(previous)
{
f->focus = True;
previous->focus = True;
}
if(c2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment