and only make it match first time for that instance.

SVN revision: 70369
devs/princeamd/enlightenment-0.17-elive
Carsten Haitzler 11 years ago
parent 81bb978614
commit 10ea31e5f6
  1. 8
      src/bin/e_border.c
  2. 1
      src/bin/e_exec.h

@ -7310,16 +7310,12 @@ _e_border_eval0(E_Border *bd)
inst = e_exec_startup_id_pid_instance_find(bd->client.netwm.startup_id,
bd->client.netwm.pid);
printf("MATCH %p [stid/pid = %i %i\n",
inst,
bd->client.netwm.startup_id,
bd->client.netwm.pid);
if (inst)
if ((inst) && (inst->used == 0))
{
E_Zone *zone;
E_Desk *desk;
printf("match s/d: %i/%i,%i\n", inst->screen, inst->desk_x, inst->desk_y);
inst->used++;
zone = e_container_zone_number_get(bd->zone->container,
inst->screen);
if (zone) e_border_zone_set(bd, zone);

@ -16,6 +16,7 @@ struct _E_Exec_Instance
Ecore_Timer *expire_timer;
int screen;
int desk_x, desk_y;
int used;
};
EINTERN int e_exec_init(void);

Loading…
Cancel
Save