~ubuntu-branches/ubuntu/utopic/cairo-dock/utopic

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-X-utilities.c

Tags: upstream-2.3.0~1
ImportĀ upstreamĀ versionĀ 2.3.0~1

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <X11/Xlib.h>
28
28
#include <X11/Xatom.h>
29
29
#include <X11/Xutil.h>
30
 
#include "../config.h"
 
30
#include "gldi-config.h"
31
31
#ifdef HAVE_XEXTEND
32
32
#include <X11/extensions/Xcomposite.h>
33
33
//#include <X11/extensions/Xdamage.h>
36
36
#include <X11/extensions/shape.h>
37
37
#endif
38
38
 
 
39
#include "cairo-dock-container.h"  // CAIRO_DOCK_HORIZONTAL
39
40
#include "cairo-dock-log.h"
40
41
#include "cairo-dock-X-manager.h"
41
42
#include "cairo-dock-X-utilities.h"
173
174
                g_desktopGeometry.iScreenWidth[CAIRO_DOCK_VERTICAL] = g_desktopGeometry.iScreenHeight[CAIRO_DOCK_HORIZONTAL];
174
175
                g_desktopGeometry.iScreenHeight[CAIRO_DOCK_VERTICAL] = g_desktopGeometry.iScreenWidth[CAIRO_DOCK_HORIZONTAL];  // si on utilise Xinerama, on mettra les valeurs correctes plus tard.
175
176
                
176
 
                cd_message ("new screen size : %dx%d\n", g_desktopGeometry.iScreenWidth[CAIRO_DOCK_HORIZONTAL], g_desktopGeometry.iScreenHeight[CAIRO_DOCK_HORIZONTAL]);
 
177
                cd_debug ("new screen size : %dx%d", g_desktopGeometry.iScreenWidth[CAIRO_DOCK_HORIZONTAL], g_desktopGeometry.iScreenHeight[CAIRO_DOCK_HORIZONTAL]);
177
178
                return TRUE;
178
179
        }
179
180
        else