Tiago Vignatti
c0827fd9d6
evdev: opt out accelerometer type of devices
...
We may want to adjust the protocol later for clients that care for
these devices only, generating a special event.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
2cc8b87310
compositor: fix pitch initialization
...
texture_region was getting a trash value for computing. I don't
understand how we couldn't see any artifact on surface output in such
case.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
d9c8250955
evdev: use a separate function for configuring devices
...
No semantical changes.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Ander Conselvan de Oliveira
90bc9e6532
compositor-drm: Fix compilation error caused by typo.
13 years ago
Ander Conselvan de Oliveira
c483917512
compositor-drm: Make unused parts of the cursor image transparent
...
The bo for the cursor image is always created with size 64x64 even if
the actual cursor image is smaller than that. If this memory is not
initialized, random data can create artifacts near the cursor.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
13 years ago
Dima Ryazanov
c224748665
Don't discard key press / key release events if the keys are different
...
Keystrokes get dropped if the user types too quickly.
13 years ago
Kristian Høgsberg
6bded3fd95
Don't pass NULL pointer as user data to signal handler
13 years ago
Matt Peterson
63900ec374
Relative movement with a touchpad and other misc fixes for events
13 years ago
Benjamin Franzke
9eaee35613
compositor-drm: Ignore disconnected connectors width
...
- Fixes segfault, if first enumerated connector is not connected.
- Corrects x-offset where e.g. the 2. of 3 connectors is not connected.
(where width of 1. output would have taken twice as
offset for output at 3. connector)
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
2116b89156
compositor: Move signal handler initialization before module loading
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
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
8417d432f5
screenshot: A couple of minor tweaks
13 years ago
Tiago Vignatti
4d0d2037ea
screenshot: use gdk-pixbuf for writing png images
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
c1ace8c465
tty: Use /dev/tty instead of tty0
13 years ago
Kristian Høgsberg
9ffb6b9866
compositor: Only configure surface when it changes geometry
14 years ago
Kristian Høgsberg
4f0df049bb
compositor: Pick output for surface based on amount of overlap
14 years ago
Benjamin Franzke
7fb56b3ebc
compositor-openwfd: Update to systemd seat input devices
14 years ago
Kristian Høgsberg
1ccd9d2a8d
compositor-x11: Support multiple outputs
14 years ago
Kristian Høgsberg
a4ba1da03d
xserver: Ignore requests from X servers we didn't launch
14 years ago
Kristian Høgsberg
2669f72e95
clients: Rename simple-client to simple-egl
14 years ago
Tiago Vignatti
93165e3e23
configure: set up simple clients independently from the others
...
Namely, simple-client and simple-shm.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
14 years ago
Tiago Vignatti
e81fe8346c
clients: simple-shm: remove unused libraries and headers
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
14 years ago
Tiago Vignatti
79caa757c9
simple-shm: assert display conection
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
14 years ago
Kristian Høgsberg
1d26603633
evdev: Only add event devices
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
86ec8e80d8
compositor: Use systemd seats for input devices as well
14 years ago
Kristian Høgsberg
8d51f141ca
compositor: Use systemd seat configuration conventions
...
http://www.freedesktop.org/wiki/Software/systemd/multiseat
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
6244668cc5
compositor-drm: Drop cursor debug message
14 years ago
Benjamin Franzke
22d5481f91
window.c: Fix compile/run using cairo without egl
14 years ago
Kristian Høgsberg
97ba2e6015
clients: Add a simple shared memory client
14 years ago
Kristian Høgsberg
7341e9b6d9
compositor: Fix damage tracking for multi-head compositors
14 years ago
Benjamin Franzke
a8bdeae1b6
compositor: Fix cursor damaging on multi head
...
Removing cursors from the surface list,
for usage as hardware cursor needs lower damaging.
Also damge when re-adding to the surface list.
14 years ago
Kristian Høgsberg
5ec0a93a98
compositor: Add a simple WM to the xserver launcher
14 years ago
Kristian Høgsberg
cd0d10b752
compositor: Damage surface when raising
14 years ago
Benjamin Franzke
8e9e6264c1
openwfd: Combine native_resolution/rect/width,height into union
14 years ago
Benjamin Franzke
9b1f2d2e8e
compositor-openwfd: Expose physical size
14 years ago
Benjamin Franzke
259037d1d8
compositor-openwfd: Expose all modes
14 years ago
Benjamin Franzke
a16e002bd8
compositor-drm: Pass physical size to output_init
14 years ago
Kristian Høgsberg
a691aeefd7
compositor: Track opaque region of a surface
14 years ago
Kristian Høgsberg
aee7f84347
compositor: Stop repainting below opaque surfaces
14 years ago