[CF-Devel] GTK client question

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sat Oct 25 23:48:03 CDT 2003


Nicolas Weeger wrote:
>
     
      Hello.
     
     >
     
     
     >
     
      In GTK client, in gtk/gx11.c, the function
     
     >
     
          void close_container(item *op)
     
     >
     
      is called in response to a server event 'container closed'.
     
     >
     
      But this function does call
     
     >
     
          client_send_apply (look_list.env->tag);
     
     >
     
      meaning the container is yet again applied.
     
     >
     
     
     >
     
      Shouldn't that line be removed?
     
     >
     
     
     >
     
      On my test server (latest cvs), with this code (grabbed from cvs this 
     
     >
     
      morning), having the line prevents correct container behaviour. Removing 
     
     >
     
      it fixes right away.
     
     
  Define 'correct container behaviour'.  Or perhaps more accurately, what 
doesn't work about it?

  In the close_container function, whether a call is made to client_send_apply 
depends on your setting.  On one setting, it doesn't make the call, which means 
the container is closed and not active.  In the other mode, that apply makes the 
container closed but active (meaning picked up things would go into the container).



_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list