blob: 061880d192c79430f0fb22ee5add5259296282df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- cmd/wm/client.c.orig Sat Jun 17 18:44:30 2006
+++ cmd/wm/client.c Wed Oct 4 06:17:02 2006
@@ -129,15 +129,20 @@
void
focus_client(Client *c, Bool restack)
{
+ Client *old, *old_in_area;
+ Frame *f;
+ View *v;
+ int i;
+ static char buf[256];
+
if (!sel_screen)
return;
- Client *old = sel_client();
- Frame *f = c->frame.data[c->sel];
- Client *old_in_area = sel_client_of_area(f->area);
- View *v = f->area->view;
- int i = idx_of_area(f->area);
- static char buf[256];
+ old = sel_client();
+ f = c->frame.data[c->sel];
+ old_in_area = sel_client_of_area(f->area);
+ v = f->area->view;
+ i = idx_of_area(f->area);
v->sel = i;
f->area->sel = idx_of_frame(f);
--- libixp/client.c.orig Sat Jun 17 18:44:30 2006
+++ libixp/client.c Wed Oct 4 06:17:14 2006
@@ -6,8 +6,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/socket.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <unistd.h>
#include "ixp.h"
|