[mutter/wayland] Start moving X11 implementation to its own subdirectory
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] Start moving X11 implementation to its own subdirectory
- Date: Tue, 18 Mar 2014 19:44:47 +0000 (UTC)
commit 8f151842fbc1adc76d9a6741ed2538139316419e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Mar 18 12:57:08 2014 -0400
Start moving X11 implementation to its own subdirectory
This is specifically about managing X11 windows, not necessarily
running as an X11 compositor. By that I mean that this code is
still used for XWayland windows, and event handling is still and
modesetting / monitor management is still in core/.
This is also a fairly conservative move. We don't move anything
like screen.c or bell.c in here, even though those are really
only for X11 clients.
src/Makefile.am | 35 ++++++++++++++++---------------
src/{core => x11}/async-getprop.c | 0
src/{core => x11}/async-getprop.h | 0
src/{core => x11}/group-private.h | 0
src/{core => x11}/group-props.c | 0
src/{core => x11}/group-props.h | 0
src/{core => x11}/group.c | 0
src/{core => x11}/iconcache.c | 0
src/{core => x11}/iconcache.h | 0
src/{core => x11}/window-props.c | 0
src/{core => x11}/window-props.h | 0
src/{core => x11}/window-x11-private.h | 0
src/{core => x11}/window-x11.c | 0
src/{core => x11}/window-x11.h | 0
src/{core => x11}/xprops.c | 0
src/{core => x11}/xprops.h | 0
16 files changed, 18 insertions(+), 17 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 25044e3..a94f49e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,6 +16,7 @@ INCLUDES= \
-I$(srcdir)/core \
-I$(srcdir)/ui \
-I$(srcdir)/compositor \
+ -I$(srcdir)/x11 \
-DMUTTER_LIBEXECDIR=\"$(libexecdir)\" \
-DHOST_ALIAS=\"@HOST_ALIAS \" \
-DMUTTER_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" \
@@ -49,8 +50,7 @@ mutter_built_sources = \
wayland/xserver-server-protocol.h
libmutter_wayland_la_SOURCES = \
- core/async-getprop.c \
- core/async-getprop.h \
+ core/above-tab-keycode.c \
core/barrier.c \
meta/barrier.h \
core/bell.c \
@@ -105,7 +105,6 @@ libmutter_wayland_la_SOURCES = \
meta/meta-shadow-factory.h \
meta/meta-window-actor.h \
meta/compositor-mutter.h \
- core/above-tab-keycode.c \
core/constraints.c \
core/constraints.h \
core/core.c \
@@ -123,13 +122,6 @@ libmutter_wayland_la_SOURCES = \
core/frame.h \
ui/gradient.c \
meta/gradient.h \
- core/group-private.h \
- core/group-props.c \
- core/group-props.h \
- core/group.c \
- meta/group.h \
- core/iconcache.c \
- core/iconcache.h \
core/keybindings.c \
core/keybindings-private.h \
core/main.c \
@@ -161,18 +153,11 @@ libmutter_wayland_la_SOURCES = \
core/util.c \
meta/util.h \
core/util-private.h \
- core/window-props.c \
- core/window-props.h \
- core/window-x11.c \
- core/window-x11.h \
- core/window-x11-private.h \
core/window.c \
core/window-private.h \
meta/window.h \
core/workspace.c \
core/workspace-private.h \
- core/xprops.c \
- core/xprops.h \
meta/common.h \
core/core.h \
ui/ui.h \
@@ -189,6 +174,22 @@ libmutter_wayland_la_SOURCES = \
meta/theme.h \
ui/theme-private.h \
ui/ui.c \
+ x11/iconcache.c \
+ x11/iconcache.h \
+ x11/async-getprop.c \
+ x11/async-getprop.h \
+ x11/group-private.h \
+ x11/group-props.c \
+ x11/group-props.h \
+ x11/group.c \
+ meta/group.h \
+ x11/window-props.c \
+ x11/window-props.h \
+ x11/window-x11.c \
+ x11/window-x11.h \
+ x11/window-x11-private.h \
+ x11/xprops.c \
+ x11/xprops.h \
wayland/meta-wayland.c \
wayland/meta-wayland.h \
wayland/meta-wayland-private.h \
diff --git a/src/core/async-getprop.c b/src/x11/async-getprop.c
similarity index 100%
rename from src/core/async-getprop.c
rename to src/x11/async-getprop.c
diff --git a/src/core/async-getprop.h b/src/x11/async-getprop.h
similarity index 100%
rename from src/core/async-getprop.h
rename to src/x11/async-getprop.h
diff --git a/src/core/group-private.h b/src/x11/group-private.h
similarity index 100%
rename from src/core/group-private.h
rename to src/x11/group-private.h
diff --git a/src/core/group-props.c b/src/x11/group-props.c
similarity index 100%
rename from src/core/group-props.c
rename to src/x11/group-props.c
diff --git a/src/core/group-props.h b/src/x11/group-props.h
similarity index 100%
rename from src/core/group-props.h
rename to src/x11/group-props.h
diff --git a/src/core/group.c b/src/x11/group.c
similarity index 100%
rename from src/core/group.c
rename to src/x11/group.c
diff --git a/src/core/iconcache.c b/src/x11/iconcache.c
similarity index 100%
rename from src/core/iconcache.c
rename to src/x11/iconcache.c
diff --git a/src/core/iconcache.h b/src/x11/iconcache.h
similarity index 100%
rename from src/core/iconcache.h
rename to src/x11/iconcache.h
diff --git a/src/core/window-props.c b/src/x11/window-props.c
similarity index 100%
rename from src/core/window-props.c
rename to src/x11/window-props.c
diff --git a/src/core/window-props.h b/src/x11/window-props.h
similarity index 100%
rename from src/core/window-props.h
rename to src/x11/window-props.h
diff --git a/src/core/window-x11-private.h b/src/x11/window-x11-private.h
similarity index 100%
rename from src/core/window-x11-private.h
rename to src/x11/window-x11-private.h
diff --git a/src/core/window-x11.c b/src/x11/window-x11.c
similarity index 100%
rename from src/core/window-x11.c
rename to src/x11/window-x11.c
diff --git a/src/core/window-x11.h b/src/x11/window-x11.h
similarity index 100%
rename from src/core/window-x11.h
rename to src/x11/window-x11.h
diff --git a/src/core/xprops.c b/src/x11/xprops.c
similarity index 100%
rename from src/core/xprops.c
rename to src/x11/xprops.c
diff --git a/src/core/xprops.h b/src/x11/xprops.h
similarity index 100%
rename from src/core/xprops.h
rename to src/x11/xprops.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]