~ubuntu-branches/ubuntu/quantal/libcm/quantal

« back to all changes in this revision

Viewing changes to src/overlaytest.c

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier, Josselin Mouette, Loic Minier
  • Date: 2008-05-26 14:43:19 UTC
  • mfrom: (3.1.4 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080526144319-ddwovigo7i925ewr
Tags: 0.1.1-4
[ Josselin Mouette ]
* Allow libgl-dev and libglu-dev as alternative dependencies for
  libcm-dev. Closes: #478887.

[ Loic Minier ]
* Don't copy config.guess/.sub after unpatch in clean; should avoid having
  them in the .diff.gz -- not needed as we always update them after patching
  anyway -- and should fix conversion to source format 3.0; closes: #482728.
* Stop shipping *.la files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "ws.h"
 
2
 
 
3
int
 
4
main ()
 
5
{
 
6
    g_type_init ();
 
7
    
 
8
    WsDisplay *display = ws_display_new (NULL);
 
9
    WsScreen *screen = ws_display_get_default_screen (display);
 
10
    WsWindow *root = ws_screen_get_root_window (screen);
 
11
    WsWindow *overlay;
 
12
 
 
13
    ws_display_init_composite (display);
 
14
    
 
15
    ws_window_redirect_subwindows (root);
 
16
 
 
17
    overlay = ws_screen_get_gl_window (screen);
 
18
    
 
19
    g_print ("Hello world\n");
 
20
    return 0;
 
21
}