Kristian Høgsberg
1e164b9afd
Move rounded_rect() to cairo-util.c
13 years ago
Kristian Høgsberg
547da5afc9
terminal: Make -f (fullscreen) option work again
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>
14 years ago
Kristian Høgsberg
7e69000556
desktop-shell: Scale background image to output size
14 years ago
Kristian Høgsberg
a4a42f0ab5
shell: Reject moving or resizing toplevel windows
14 years ago
Kristian Høgsberg
f8ab46e149
window: Default to toplevel windows
14 years ago
Kristian Høgsberg
67680c122d
desktop-shell: Add launcher for the Wayland terminal
14 years ago
Kristian Høgsberg
9c4eecb5c0
Rename motion_grab to implicit_grab
...
Let's just use the same terms as X.
14 years ago
Kristian Høgsberg
0c29eb292e
clients: Add a simple desktop-shell app
...
This just provides the background surface and the top panel.
14 years ago
Kristian Høgsberg
900b226ac1
window: Add enter/leave handlers
14 years ago
Kristian Høgsberg
7584062153
Add a desktop_shell interface
...
Mostly a toy-thing for now, to allow prototyping a desktop-shell client.
14 years ago
Kristian Høgsberg
f59da399d8
compositor: Don't crash when receiving kb focus with no surface
14 years ago
Kristian Høgsberg
109a00700e
compositor: Drop built-in background support
...
There should always be a background client (file manager, home screen,
animated wallpaper or just a plain static image).
14 years ago
Kristian Høgsberg
4eaa830381
compositor: Repick surface when grab ends
...
We were doing it manually in a few places and forgetting it in the
implicit grab case.
14 years ago
Kristian Høgsberg
e7b5b41e93
evdev: Associate touchscreen devices with output up front
...
This isn't going to change over time, so just tracking it in the
evdev device is a little easier. Also, we need to adjust for the
output position when transforming the device events to screen space.
14 years ago
Tiago Vignatti
d904359949
evdev: treat BTN_TOUCH as BTN_LEFT
...
idea stolen from xorg evdev.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
14 years ago
Tiago Vignatti
faee80196f
compositor: choose tty from command line
...
This is a backend option, so you should use something like '-otty='.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
14 years ago
Tiago Vignatti
bbc2e03b2a
evdev: use last output from compositor to get the screen geometries
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
14 years ago
Tiago Vignatti
8be003baba
evdev: organize the code for processing events
...
Nothing was touched, just code moved around.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
14 years ago
Kristian Høgsberg
9ebcf94b83
Use wl_resource_* error functions
14 years ago
Benjamin Franzke
4b87a13974
clients: Fix typos
...
And forgotten display_create conversion in view.c.
14 years ago
Matt Roper
11568a73ba
Turn off hardware cursor when screen fade begins.
...
The compositor was never actually calling the output backend to turn off
the hardware cursor when the screen begins fading. This would result in
a stuck hardware cursor and movable software cursor for the duration of
the fade/unfade.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
14 years ago
Benjamin Franzke
e8e0e6e2db
Update gitignore
14 years ago
Benjamin Franzke
91eacca38b
Remove egl display type setenv hack
...
No longer needed with mesa 7.12-devel egl display autodetection.
14 years ago
Benjamin Franzke
48c4ea2dbd
compositor-drm: Merge drm_output_destroy and destroy_output
14 years ago
Benjamin Franzke
117483daaa
compositor-drm: Coding style fixes
...
- Reformat indentation and 80-column wrap
- Use output->base rather than output_base
- Remove traling space
14 years ago
Benjamin Franzke
b826302efb
Remove return type from wlsc_compositor_shutdown
...
Fixes "control reaches end of non-void function" warning
and is not needed (yet).
14 years ago
Benjamin Franzke
4c394190a3
compositor-openwfd: Fix wfd_destroy_output
...
Dont (incorrectly) call destroy_output
from wfd_destroy_output, rather merge both.
14 years ago
Kristian Høgsberg
f389cacc20
Move away from visuals and just use EGLConfigs or shm format tokens
14 years ago
Kristian Høgsberg
4ebf3a0c2e
Fix cursor visibility bug
14 years ago
Kristian Høgsberg
6da3812f0a
gears: Don't schedule redraw, just draw from frame callback
14 years ago
Kristian Høgsberg
6f7179c652
compositor: Discard surface.frame if the surface isn't visible
14 years ago
Kristian Høgsberg
8e6d71247e
compositor: Track bound resources for input device
14 years ago
Kristian Høgsberg
57295ebf20
compositor: Handle NULL buffer in input_device.attach correctly
14 years ago
Kristian Høgsberg
fd07fb76bc
Create resource for wl_output
14 years ago
Kristian Høgsberg
2821aaaf9c
simple-shm: Fix inverted logic
14 years ago
Kristian Høgsberg
97d44aa58b
Pass resources to functions that take object references
14 years ago
Kristian Høgsberg
2415990461
clients: Remove a few unused variables
14 years ago
Kristian Høgsberg
26130866c6
terminal: Fix unused return value warnings
14 years ago
Kristian Høgsberg
9de79a92a6
window.c: Drop global handler argument
...
We can just register a global handler directly on the wl_display now.
14 years ago
Kristian Høgsberg
a8d1fa762e
clients: Bring clients up to date
14 years ago
Kristian Høgsberg
f790c79ec7
Use wl_display_bind() for binding to globals
14 years ago
Kristian Høgsberg
d9551a3377
compositor: drop wl_display_add_object()
14 years ago
Kristian Høgsberg
904055a652
compositor: Make all exported objects wl_resources
14 years ago
Kristian Høgsberg
334182062f
Use the new wl_callback interface
14 years ago
Matt Roper
361d2ade02
Update compositor shutdown code
...
Adds a general wlsc_compositor_shutdown() function that all output
backends call when shutting down. wlsc_compositor_shutdown() will call
a new 'destroy' method of each output to perform backend-specific
cleanup (e.g., turning off the hardware cursor in the DRM compositor).
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
14 years ago
Matt Roper
045037e005
Turn off hardware cursors on VT switch before dropping DRM master.
...
The DRM cursor ioctl requires DRM master. We shouldn't drop
master until after we're done turning off the hardware cursors
for a VT switch.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
14 years ago
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>
14 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>
14 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>
14 years ago