diff options
| author | moetunes <moetunes111@gmail.com> | 2011-10-15 14:55:45 +1000 |
|---|---|---|
| committer | moetunes <moetunes111@gmail.com> | 2011-10-15 14:55:45 +1000 |
| commit | a141f4c8bf3188a371ce7a43f27f95f44627d0c0 (patch) | |
| tree | 10d6b9050b9e727e49fa9609554875c48ce1c63a /src/dminiwm.c | |
| parent | 28546a6982fa1b20f4b28ff05fc294f8ecca1e3b (diff) | |
Fine tuned the maprequest function
Diffstat (limited to 'src/dminiwm.c')
| -rw-r--r-- | src/dminiwm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dminiwm.c b/src/dminiwm.c index 4029cf1..46e80a4 100644 --- a/src/dminiwm.c +++ b/src/dminiwm.c @@ -142,7 +142,7 @@ static void (*events[LASTEvent])(XEvent *e) = { }; // Desktop array -static desktop desktops[6]; +static desktop desktops[DESKTOPS]; /* ***************************** Window Management ******************************* */ void add_window(Window w) { @@ -697,7 +697,6 @@ void maprequest(XEvent *e) { if(XGetClassHint(dis, ev->window, &ch)) for(i=0;i<len;i++) if(strcmp(ch.res_class, convenience[i].class) == 0) { - fprintf(stdout, "%s will be moved....\n", ch.res_class); save_desktop(tmp); select_desktop(convenience[i].preferredd-1); add_window(ev->window); |
