Ray Strode
e96dcb8f93
Only forward events to compositor if on active VT
...
Previously, we'd send things like the user's password
to the active irc window when they logged into a getty
running on a different tty.
16 years ago
Kristian Høgsberg
33500890b3
Handle more control characters in terminal.
16 years ago
Ray Strode
966aa112e7
Ignore tty input
...
Previously, ctrl-c would kill wayland and input like
passwords and commands would get typed into the terminal
under the scenes.
16 years ago
Kristian Høgsberg
2c0e56b2d5
Drop the silly overlay hack.
16 years ago
Kristian Høgsberg
82f6e8a2ef
Rename egl-compositor to wayland-system-compositor.
...
The wayland-system-compositor is the top-level compositor. X sessions
or nested Wayland sessions will run as clients of the system compositor.
The system compositor is licensed under the GPL.
16 years ago
Kristian Høgsberg
15d0f8b236
Use the new eagle config chooser for picking the config.
16 years ago
Kristian Høgsberg
112c0bee18
Remove visual debug prints.
16 years ago
Kristian Høgsberg
2c875bd31e
Cache modesetting data and just do drmModeSetCrtc on vt enter.
16 years ago
Kristian Høgsberg
38ccd3a23e
Do vt ioctl on the right fd.
16 years ago
Ray Strode
19ad6a9db3
Restore framebuffer when switching back to VT
...
The kernel currently automatically redirects
output to the kernel framebuffer when switching
VTs away from wayland. It doesn't restore
output back to wayland's fb when coming back
to the VT. This patch works around that issue.
16 years ago
Ray Strode
fe57347cb9
Add new event loop api for watching signals
...
This will provide us with a nice, safe mechanism
for getting notification of VT changes.
16 years ago
Ray Strode
90e701df08
Force pointer to stay on screen.
...
Without this change it's really easy to
accidentally send the pointer flying and not
be able to get it back.
16 years ago
Kristian Høgsberg
2d4219e542
Scale background pixbuf when loading.
...
This lets us avoid hitting the texture limit for some backgrounds.
16 years ago
Ray Strode
18fd33c9bb
Fix rgb byte order for GdkPixbuf backgrounds.
16 years ago
Kristian Høgsberg
e10b828562
Remember to handle rgb_visual case in surface_attach.
16 years ago
Kristian Høgsberg
de31d5ca6f
Add preliminary visual support.
16 years ago
Kristian Høgsberg
c8c5d5872d
Set terminal type to vt100.
16 years ago
Kristian Høgsberg
b7037a02f0
Don't pin front buffer, kernel modesetting takes care of that now.
16 years ago
Kristian Høgsberg
5b7f832eab
Fall back to solid color background if not image is found.
16 years ago
Kristian Høgsberg
d2412e2c2e
Redesign the compositor / server interface.
...
This lets the compositor directly provide the implementation of the RMI
objects for the surface object and a new compositor object. We avoid the
manual forwarding of requests into the compositor and the clumsy compositor
interface struct.
16 years ago
Kristian Høgsberg
0ea4710b3d
Use gdk-pixbuf for saving the screenshot.
16 years ago
Kristian Høgsberg
3f16956c06
Initialize count to 0 in wl_list_length().
...
Not sure how this ever really worked before...
16 years ago
Kristian Høgsberg
64949978f4
Fix default input device path.
16 years ago
Kristian Høgsberg
a7700c8ff1
Handle per-device keyboard focus.
16 years ago
Kristian Høgsberg
f0c7b2083a
Don't close uninitialized fd, check forkpty error.
16 years ago
Kristian Høgsberg
c492b482d0
Make multi-pointer work.
...
This also add command line parsing as a way to specify the input
device files to use.
16 years ago
Kristian Høgsberg
d6531261de
Add option parsing using GOption.
16 years ago
Kristian Høgsberg
864c468b42
Make sure we initialize object hash.
...
This patch also move the hash implementation details to wayland-util.c.
16 years ago
Kristian Høgsberg
997e71eb1e
Use the screen size for sizing the background.
16 years ago
Kristian Høgsberg
9e4c76b530
Pass -fPIC when compiling shared libraries.
16 years ago
Kristian Høgsberg
aad70ba986
Forgot to add egl-compositor.h.
16 years ago
Kristian Høgsberg
29573bc569
Implement passive grabs on button clicks.
16 years ago
Kristian Høgsberg
5ee1a60f1a
Rewrite input event delivery path.
...
Instead of having the input driver push the events into the core server,
only to have the server call back out to the compositor hooks, the driver now
just calls the compositor directly. The input drivers are always dependent on
the type of compositor anyway so there was no point in passing the events
through the server. Now the server is only involved when it's time to actually
send the events to the clients.
16 years ago
Kristian Høgsberg
d1c58d60f6
Fix signature for pointer motion event.
16 years ago
Kristian Høgsberg
b96785ca61
Drop glx-compositor for now.
...
Might want to resurrect this later, but for now, let's not try to
drag it along.
16 years ago
Kristian Høgsberg
4a8767bbb7
Install libraries plus headers and add pkg-config files.
16 years ago
Kristian Høgsberg
7fdff04cdc
Only send key events to toplevel surface.
16 years ago
Kristian Høgsberg
5a75c90d01
Feed button events through compositor.
...
This also generalizes the code to send events to a surface a bit.
16 years ago
Kristian Høgsberg
715a081cf4
Feed motion events through compositor.
...
This lets us pass events only to the window that we're mousing over
and we can now transform input events back to the window coordinate space.
16 years ago
Kristian Høgsberg
201a904889
Drop surface iterator API, just track surfaces in the compositor.
16 years ago
Kristian Høgsberg
eac149ad06
Pass button clicks through to compositor.
...
This lets us handle raising windows, which is useful.
16 years ago
Kristian Høgsberg
98fed0fb84
Use bilinear filtering.
16 years ago
Kristian Høgsberg
fdea72a078
Handle interrupted system calls in connection code.
16 years ago
Kristian Høgsberg
dbd54640f4
Implement a bunch of escape codes.
...
Bash command line editing and gdb is pretty much there. Emacs, vi and even less
need more work.
16 years ago
Kristian Høgsberg
73f4e760a2
Fix wl_method for screenshooter.
16 years ago
Kristian Høgsberg
6e0a2f8953
Tweak terminal font color.
16 years ago
Kristian Høgsberg
9f88b185a0
Don't forget to initialize overlay position.
16 years ago
Kristian Høgsberg
221067654c
Let clients override the suggested size on resize.
...
This lets gears enforce a square aspect ration and minimum size of 300x300
and the terminal now properly resizes in steps of character cells.
16 years ago
Kristian Høgsberg
1584c57edc
Snap terminal size to an integer number of character cells.
16 years ago
Kristian Høgsberg
17809b1e43
Handle \e[J and \e[H so we can clear the terminal.
16 years ago