Kristian Høgsberg
f0d9116fc8
x11: Add a destroy listener for X11 surfaces
13 years ago
Tiago Vignatti
37f27d59cd
xserver: check whether pointer exists when exiting
...
At initialization, if it fails in binding the socket or creating the
lock file then the pointer will be already freed and will result a
segfault when quiting the compositor.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
97d44aa58b
Pass resources to functions that take object references
13 years ago
Kristian Høgsberg
f790c79ec7
Use wl_display_bind() for binding to globals
13 years ago
Kristian Høgsberg
d9551a3377
compositor: drop wl_display_add_object()
13 years ago
Kristian Høgsberg
904055a652
compositor: Make all exported objects wl_resources
13 years ago
Kristian Høgsberg
3651bd54e1
xserver: Shut down if X server is crashing too fast
13 years ago
Kristian Høgsberg
3cf1172397
xserver: Clean up wm on X server exit
13 years ago
Kristian Høgsberg
f6ee695805
xserver: Clean up lockfile creation a bit
13 years ago
Kristian Høgsberg
534222b4d9
xserver: Listen on abstract X socket too
...
And try the next display if binding fails.
13 years ago
Tiago Vignatti
5884bcde4a
configure: add helper for setting xserver directory
...
With this the X server directory can become independent from the
installation prefix set by autoconf.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
338c96325b
xserver: Print atom names
13 years ago
Kristian Høgsberg
a4ba1da03d
xserver: Ignore requests from X servers we didn't launch
14 years ago
Kristian Høgsberg
b3b425c8d1
xserver: use $bindir prefix when launching X
14 years ago
Kristian Høgsberg
535e2c65c7
xserver: Memset the right size
14 years ago
Kristian Høgsberg
4a431477ec
xserver: Only launch wm for xservers we launch
14 years ago
Kristian Høgsberg
3cad436a91
xserver: Clean up X server socket on exit
14 years ago
Kristian Høgsberg
fcf6577108
xserver: Detect an clean up stale lock file
14 years ago
Kristian Høgsberg
d6520e144a
xserver: Create per-display log file
14 years ago
Kristian Høgsberg
5ec0a93a98
compositor: Add a simple WM to the xserver launcher
14 years ago