/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/seamless.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/branches/seamlessrdp-branch/rdesktop/seamless.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1154 by ossman_, Fri Mar 17 09:56:20 2006 UTC revision 1157 by astrand, Fri Mar 17 12:39:09 2006 UTC
# Line 340  seamless_send_state(unsigned long id, un Line 340  seamless_send_state(unsigned long id, un
340    
341    
342  void  void
343    seamless_send_position(unsigned long id, int x, int y, int width, int height, unsigned long flags)
344    {
345            seamless_send("POSITION,0x%08lx,%d,%d,%d,%d,0x%lx\n", id, x, y, width, height, flags);
346    }
347    
348    
349    /* Update select timeout */
350    void
351    seamless_select_timeout(struct timeval *tv)
352    {
353            struct timeval ourtimeout = { 0, SEAMLESSRDP_POSITION_TIMER };
354    
355            if (g_seamless_rdp)
356            {
357                    if (timercmp(&ourtimeout, tv, <))
358                    {
359                            tv->tv_sec = ourtimeout.tv_sec;
360                            tv->tv_usec = ourtimeout.tv_usec;
361                    }
362            }
363    }
364    
365    
366    void
367  seamless_send_zchange(unsigned long id, unsigned long below, unsigned long flags)  seamless_send_zchange(unsigned long id, unsigned long below, unsigned long flags)
368  {  {
369          if (!g_seamless_rdp)          if (!g_seamless_rdp)

Legend:
Removed from v.1154  
changed lines
  Added in v.1157

  ViewVC Help
Powered by ViewVC 1.1.26