mirror of
https://github.com/amiwm/amiwm.git
synced 2026-03-24 01:24:15 +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;
|
||||
s->icons=i;
|
||||
if(i->client) {
|
||||
#if 1
|
||||
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)
|
||||
selecticon(i);
|
||||
|
||||
Reference in New Issue
Block a user