Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 642294
Collapse All | Expand All

(-)a/src/working-area.c (+6 lines)
Lines 23-36 Link Here
23
*/
23
*/
24
24
25
# include <gdk/gdk.h>
25
# include <gdk/gdk.h>
26
#ifndef GDK_WINDOWING_WAYLAND
26
# include <gdk/gdkx.h>
27
# include <gdk/gdkx.h>
27
# include <X11/Xlib.h>
28
# include <X11/Xlib.h>
28
# include <X11/Xutil.h>
29
# include <X11/Xutil.h>
29
# include <X11/Xatom.h>
30
# include <X11/Xatom.h>
31
#endif
30
32
31
void get_working_area(GdkScreen* screen, GdkRectangle *rect);
33
void get_working_area(GdkScreen* screen, GdkRectangle *rect);
32
34
33
static gboolean gf_display_get_workarea(GdkScreen* g_screen, GdkRectangle *rect) {
35
static gboolean gf_display_get_workarea(GdkScreen* g_screen, GdkRectangle *rect) {
36
#ifdef GDK_WINDOWING_WAYLAND
37
	return FALSE;
38
#else
34
	Atom xa_desktops, xa_current, xa_workarea, xa_type;
39
	Atom xa_desktops, xa_current, xa_workarea, xa_type;
35
	Display *x_display;
40
	Display *x_display;
36
	Window x_root;
41
	Window x_root;
Lines 134-139 static gboolean gf_display_get_workarea( Link Here
134
	XFree(data);
139
	XFree(data);
135
140
136
	return TRUE;
141
	return TRUE;
142
#endif
137
}
143
}
138
144
139
void get_working_area(GdkScreen* screen, GdkRectangle *rect)
145
void get_working_area(GdkScreen* screen, GdkRectangle *rect)

Return to bug 642294