/[rdesktop]/sourceforge.net/trunk/rdesktop/xwin.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/trunk/rdesktop/xwin.c

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

revision 281 by jsorg71, Mon Dec 2 22:57:47 2002 UTC revision 288 by jsorg71, Sun Jan 5 20:06:32 2003 UTC
# Line 607  xwin_process_events(void) Line 607  xwin_process_events(void)
607                                  break;                                  break;
608    
609                          case MotionNotify:                          case MotionNotify:
610                                    if (fullscreen && !focused)
611                                            XSetInputFocus(display, wnd, RevertToPointerRoot,
612                                                           CurrentTime);
613                                  rdp_send_input(time(NULL), RDP_INPUT_MOUSE,                                  rdp_send_input(time(NULL), RDP_INPUT_MOUSE,
614                                                 MOUSE_FLAG_MOVE, xevent.xmotion.x, xevent.xmotion.y);                                                 MOUSE_FLAG_MOVE, xevent.xmotion.x, xevent.xmotion.y);
615                                  break;                                  break;
# Line 1279  ui_draw_text(uint8 font, uint8 flags, in Line 1282  ui_draw_text(uint8 font, uint8 flags, in
1282                                                  else                                                  else
1283                                                          x += text[i + 2];                                                          x += text[i + 2];
1284                                          }                                          }
                                         if (i + 2 < length)  
                                                 i += 3;  
                                         else  
                                                 i += 2;  
                                         length -= i;  
                                         /* this will move pointer from start to first character after FE command */  
                                         text = &(text[i]);  
                                         i = 0;  
1285                                          for (j = 0; j < entry->size; j++)                                          for (j = 0; j < entry->size; j++)
1286                                                  DO_GLYPH(((uint8 *) (entry->data)), j);                                                  DO_GLYPH(((uint8 *) (entry->data)), j);
1287                                  }                                  }
1288                                    if (i + 2 < length)
1289                                            i += 3;
1290                                    else
1291                                            i += 2;
1292                                    length -= i;
1293                                    /* this will move pointer from start to first character after FE command */
1294                                    text = &(text[i]);
1295                                    i = 0;
1296                                  break;                                  break;
1297    
1298                          default:                          default:

Legend:
Removed from v.281  
changed lines
  Added in v.288

  ViewVC Help
Powered by ViewVC 1.1.26