Changeset 3627:11f7dace5af0 in roaraudio


Ignore:
Timestamp:
03/07/10 20:33:05 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_x11_flush()

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/roarx11.h

    r3517 r3627  
    6060#define roar_x11_get_display(con) ((con) == NULL ? NULL : (con)->display) 
    6161 
     62int    roar_x11_flush(struct roar_x11_connection * con); 
     63 
    6264int    roar_x11_set_prop(struct roar_x11_connection * con, const char * key, const char * val); 
    6365int    roar_x11_delete_prop(struct roar_x11_connection * con, const char * key); 
  • libroar/roarx11.c

    r3517 r3627  
    9797} 
    9898 
     99int    roar_x11_flush(struct roar_x11_connection * con) { 
     100#ifdef ROAR_HAVE_LIBX11 
     101 if ( con == NULL ) 
     102  return -1; 
     103 
     104 return XFlush(con->display); 
     105#else 
     106 return -1; 
     107#endif 
     108} 
     109 
    99110int roar_x11_set_prop(struct roar_x11_connection * con, const char * key, const char * val) { 
    100111#ifdef ROAR_HAVE_LIBX11 
Note: See TracChangeset for help on using the changeset viewer.