/[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 190 by matthewc, Tue Sep 24 07:33:17 2002 UTC revision 192 by matthewc, Tue Sep 24 07:59:14 2002 UTC
# Line 217  get_key_state(int keysym) Line 217  get_key_state(int keysym)
217  }  }
218    
219  BOOL  BOOL
220  ui_init()  ui_init(void)
221  {  {
222          XPixmapFormatValues *pfm;          XPixmapFormatValues *pfm;
223          uint16 test;          uint16 test;
# Line 293  ui_init() Line 293  ui_init()
293  }  }
294    
295  void  void
296  ui_deinit()  ui_deinit(void)
297  {  {
298          if (IM != NULL)          if (IM != NULL)
299                  XCloseIM(IM);                  XCloseIM(IM);
# Line 307  ui_deinit() Line 307  ui_deinit()
307  }  }
308    
309  BOOL  BOOL
310  ui_create_window()  ui_create_window(void)
311  {  {
312          XSetWindowAttributes attribs;          XSetWindowAttributes attribs;
313          XClassHint *classhints;          XClassHint *classhints;
# Line 381  ui_create_window() Line 381  ui_create_window()
381  }  }
382    
383  void  void
384  ui_destroy_window()  ui_destroy_window(void)
385  {  {
386          if (IC != NULL)          if (IC != NULL)
387                  XDestroyIC(IC);                  XDestroyIC(IC);
# Line 390  ui_destroy_window() Line 390  ui_destroy_window()
390  }  }
391    
392  void  void
393  xwin_toggle_fullscreen()  xwin_toggle_fullscreen(void)
394  {  {
395          Pixmap contents = 0;          Pixmap contents = 0;
396    
# Line 416  xwin_toggle_fullscreen() Line 416  xwin_toggle_fullscreen()
416    
417  /* Process all events in Xlib queue */  /* Process all events in Xlib queue */
418  static void  static void
419  xwin_process_events()  xwin_process_events(void)
420  {  {
421          XEvent xevent;          XEvent xevent;
422          KeySym keysym;          KeySym keysym;
# Line 852  ui_set_clip(int x, int y, int cx, int cy Line 852  ui_set_clip(int x, int y, int cx, int cy
852  }  }
853    
854  void  void
855  ui_reset_clip()  ui_reset_clip(void)
856  {  {
857          XRectangle rect;          XRectangle rect;
858    
# Line 864  ui_reset_clip() Line 864  ui_reset_clip()
864  }  }
865    
866  void  void
867  ui_bell()  ui_bell(void)
868  {  {
869          XBell(display, 0);          XBell(display, 0);
870  }  }

Legend:
Removed from v.190  
changed lines
  Added in v.192

  ViewVC Help
Powered by ViewVC 1.1.26