mirror of
https://github.com/amiwm/amiwm.git
synced 2026-04-14 11:04:18 +00:00
[amiwm] remove now dead code.
This commit is contained in:
9
icon.c
9
icon.c
@@ -156,16 +156,7 @@ void reparenticon(Icon *i, Scrn *s, int x, int y)
|
|||||||
i->next=s->icons;
|
i->next=s->icons;
|
||||||
s->icons=i;
|
s->icons=i;
|
||||||
if(i->client) {
|
if(i->client) {
|
||||||
#if 1
|
|
||||||
reparent_client(s, i->client);
|
reparent_client(s, i->client);
|
||||||
#else
|
|
||||||
i->client->scr=s;
|
|
||||||
if(i->client->parent != i->client->scr->root)
|
|
||||||
XReparentWindow(dpy, i->client->parent, s->back,
|
|
||||||
i->client->x, i->client->y);
|
|
||||||
setstringprop(i->client->window, amiwm_screen, s->deftitle);
|
|
||||||
sendconfig(i->client);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if(os)
|
if(os)
|
||||||
selecticon(i);
|
selecticon(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user