Jasper St. Pierre
840378ae68
xprop: Don't use GDK for reading text properties
2014-04-07 10:37:02 -04:00
Jasper St. Pierre
4752776ebf
ui: Don't add our filter function twice
2014-04-06 15:19:04 -04:00
Jasper St. Pierre
c40868b239
xwayland: Fix rendering
...
Since we get the ClientMessage after the surface is created, there's
no good way to synchronize the two streams. In this case, what we
need to do is delay the surface commit until after we get the
ClientMessage. Ideally, we'd be using a better surface system overall
where committing the surface didn't depend on what type it is, but
oh well, this is a good short-term hack for now.
2014-04-02 13:24:58 -04:00
Jasper St. Pierre
a21e7a2188
wayland: Move surface_set_buffer back into the commits
...
For XWayland support, we need to delay the buffer set until after
we do the typechecking, as we need to bail out early in that case.
2014-04-02 13:24:58 -04:00
Jasper St. Pierre
371fba6843
wayland: Move the commit implementation to the top
...
We're going to need to expose commit as a public method for XWayland
support, so decouple it from the handler implementation.
2014-04-02 13:24:57 -04:00
Jasper St. Pierre
be02fa1120
xwayland: Switch to the new Xwayland DDX
2014-04-02 13:24:57 -04:00
Jasper St. Pierre
43730f1660
xwayland: Switch to SIGUSR1 to know when the X server has finished init
...
This is effectively the same, but since we lose the xserver.xml protocol
in the new XWayland DDX, we have to use SIGUSR1 anyway, so might as well
switch over now.
2014-04-02 13:16:10 -04:00
Jasper St. Pierre
4f609dbf5e
xwayland: Don't use glib after forking
...
glib doesn't have any guarantee about working after forking.
We can get away with it, but we're better off just not using it.
2014-04-02 13:04:31 -04:00
Jasper St. Pierre
2a7d12ba14
xwayland: Make failing to exec a fatal error
2014-04-02 13:03:29 -04:00
Jasper St. Pierre
c4c0b5f0ab
xwayland: Detect a fail to fork
2014-04-02 13:03:17 -04:00
Jasper St. Pierre
8373c90cd8
background: Remove load_still_frame
...
Nothing uses it, and it's incompatible with XWayland anyway.
2014-04-02 12:35:24 -04:00
Jasper St. Pierre
eb5b54dd8b
xwayland: Split another part of the initialization sequence out
...
This will be used from a SIGUSR1 handler.
2014-04-02 11:41:28 -04:00
Jasper St. Pierre
9653b79a35
xwayland: Split a helper out
...
This will make the next commit, which ports to the new ClientMessage
API, more understandable.
2014-04-02 11:41:28 -04:00
Jasper St. Pierre
e07bd15fc2
xwayland: Make file cosmetically modern
...
Put a modeline, include "config.h", and shift around the include ordering
2014-04-02 11:41:27 -04:00
Jasper St. Pierre
5cf0740b4e
xwayland: Fork the X server ourselves
...
gspawn just isn't us the fine-grained control we need for starting
processes and leaking file descriptors in.
2014-04-02 11:41:27 -04:00
Jasper St. Pierre
c540ddf59b
xwayland: Move display_name into choose_xdisplay
2014-04-02 11:41:27 -04:00
Jasper St. Pierre
a44295599c
xwayland: Split out the code that creates the XWayland sockets
2014-04-02 11:41:26 -04:00
Jasper St. Pierre
af272f2685
xwayland: Move global initialization down
2014-04-02 11:41:26 -04:00
Jasper St. Pierre
81d033ec73
xwayland: Use %m instead of manual strerror(errno)
2014-04-02 11:41:26 -04:00
Jasper St. Pierre
e9ee984921
wayland: Rename the wl_surface interface handlers
...
We usually name the method handlers after the direct name
of the interface methods. Do that for wl_surface as well.
2014-04-02 11:41:26 -04:00
Jasper St. Pierre
3c404c5db3
wayland: Replace make_toplevel / window_unmanaging with set_window
...
The make_toplevel / window_unmanaging interface has never made
a lot of sense to me. Replace it with set_window, which does
effectively the same thing.
It's still not perfect in the case of XWayland, but I don't think
XWayland will ever make me happy.
2014-04-02 11:41:07 -04:00
Jasper St. Pierre
e4cd000cef
wayland: Implement wl_seat v3
...
The new XWayland DDX flat out requires seat v3.
2014-04-02 11:40:40 -04:00
Jasper St. Pierre
6296fefea6
window-actor: Clean up has_shadow
...
This has some particularly picky #if 0'd code. Since the history for
it isn't illuminating in the slightest, I'm just going to kill it.
2014-04-02 11:40:04 -04:00
Jasper St. Pierre
c1e3a6b742
idle-monitor: Actually get the check for is_wayland_compositor correctly
...
If we're a Wayland compositor we shouldn't be taking this path, ever.
2014-04-01 16:05:53 -04:00
Jasper St. Pierre
dcd83b7365
idle-monitor-native: Remove another copy/paste error
...
Don't overwrite the watch with a new malloc'd variable.
2014-04-01 16:01:06 -04:00
Jasper St. Pierre
617b00dfbd
idle-monitor-native: Reindent
2014-04-01 15:52:11 -04:00
Jasper St. Pierre
94692414cb
idle-monitor-native: Fix copy/paste bug
2014-04-01 15:52:11 -04:00
Jasper St. Pierre
ab6bc76bfd
Move edid-parse to backends/
2014-04-01 14:35:04 -04:00
Jasper St. Pierre
57803f1d59
wayland-stage: Clean up and rename
...
It should be META_TYPE_WAYLAND_STAGE, not META_WAYLAND_TYPE_STAGE.
Well, actually, it *should* be META_TYPE_NATIVE_STAGE, because it's
not related to Wayland at all. But that comes later :)
2014-04-01 14:04:58 -04:00
Jasper St. Pierre
67b6737b27
backend: Fix warning
2014-04-01 14:04:53 -04:00
Jasper St. Pierre
29396014fd
backend: Fix the nested mode
2014-04-01 13:56:40 -04:00
Jasper St. Pierre
899d4d8477
monitor-manager: Move default get_edid_file / read_edid to base class
...
These are also used by the native manager.
2014-04-01 10:24:34 -04:00
Jasper St. Pierre
f1c7063ee7
configure: Clean up old status line
...
While I'm here, I might as well. We rely on Xcursor now.
2014-03-31 23:48:59 -04:00
Jasper St. Pierre
216ff7ebe5
Update .gitignore
...
It seems the new automake likes to litter these files all around.
2014-03-31 23:47:40 -04:00
Jasper St. Pierre
34cc5efb90
configure: Add on subdir-objects
...
To stop automake from complaining
2014-03-31 23:47:11 -04:00
Jasper St. Pierre
bce1d5117b
Start creating different subdirectories for each backend
2014-03-31 23:44:47 -04:00
Jasper St. Pierre
d5552cc372
Rename meta-xrandr-shared to meta-display-config-shared
2014-03-31 23:44:47 -04:00
Jasper St. Pierre
fd392cc1e7
Remove "xrandr" from the name of the generated DBus files
...
It's about generic display config, not XRandR specifically.
2014-03-31 23:44:47 -04:00
Jasper St. Pierre
b641d9d5a8
Rename the DBus interface files
2014-03-31 23:44:46 -04:00
Jasper St. Pierre
5bcc78498f
Move MetaLauncher to meta-backend
2014-03-31 23:44:46 -04:00
Jasper St. Pierre
521125b672
meta-wayland: Use meta_clutter_init
2014-03-31 23:44:45 -04:00
Jasper St. Pierre
89b931435d
Move meta_clutter_init into a new file
...
We'll use this to get the initialization between the Wayland and
X11 compositor codepaths back in sync.
2014-03-31 23:44:25 -04:00
Jasper St. Pierre
e22e9f5df5
main: Refactor some code slightly
2014-03-31 22:55:13 -04:00
Jasper St. Pierre
20547e3b63
Move weston-launch to backends/
...
It's about display servers, not Wayland integration.
2014-03-31 22:48:34 -04:00
Jasper St. Pierre
2cf185b4e4
Move mutter-Xatomtype to x11/
2014-03-31 22:13:12 -04:00
Jasper St. Pierre
229360b248
Start molding out a new src/backends/ dir
...
Right now this just has all of the files in one directory. We'll
be introducing more structure to this in the future, and build
a proper backend system.
2014-03-31 22:11:00 -04:00
Jasper St. Pierre
ccced506ed
Rename monitor => meta-monitor-manager
2014-03-31 22:05:24 -04:00
Jasper St. Pierre
28b9160c01
Rename monitor-config => meta-monitor-config
2014-03-31 22:05:22 -04:00
Jasper St. Pierre
ba6584a0d7
Move monitor-config to its own header file
2014-03-31 22:04:38 -04:00
Jasper St. Pierre
2a0289a216
Move the dummy monitor manager to his own subclass / file
2014-03-31 21:52:32 -04:00