Ray Strode
4c9af7267d
Revert "Force cursor update after applying configuration"
...
This reverts commit 33150569cd
.
This was a stow-a-away sitting in my local tree.
2015-11-06 16:24:34 -05:00
Ray Strode
33150569cd
Force cursor update after applying configuration
...
The qxl kms driver has a bug where the cursor gets hidden
implicitly after a drmModeSetCrtc call.
This commit works around the bug by forcing a drmModeSetCursor2
call after the drmModeSetCrtc calls.
This is pretty hacky and won't ever go upstream.
https://bugzilla.gnome.org/show_bug.cgi?id=746078
2015-11-06 14:26:46 -05:00
Florian Müllner
bc00f118f3
Avoid shadowing existing variables
2015-09-24 03:08:22 +02:00
Jonas Ådahl
b7aca07844
Revert "launcher: simplify getting session dbus proxy"
...
Signals are sent to a specific ID, so we can't use "self" here. After
this revert, VT switching works again.
This reverts commit 8e22bf5bc9
.
https://bugzilla.gnome.org/show_bug.cgi?id=753434
2015-09-17 12:17:45 +08:00
Florian Müllner
dc780d2c44
launcher: Don't pass variable as format string
...
We know the variable only contains one or another string literal,
but keep compilers happy as well.
2015-09-16 17:38:10 +02:00
Marek Chalupa
79f755bf0f
launcher: find the right drm device
...
Instead of hard-coding /dev/dri/card0, find the device
that has boot_vga flag set or has been explicitly
assigned a seat id other than seat0
https://bugzilla.gnome.org/show_bug.cgi?id=753434
2015-09-07 08:42:21 -04:00
Marek Chalupa
1845bfe1b6
launcher: refactor handling errors in meta_launcher_new
...
Fill in missing error checks and use g_error, since any
error in this phase would lead to crash later anyway.
This way we'll at least know what went wrong.
Although it was not the patch's original intention, it fixes
https://bugzilla.gnome.org/show_bug.cgi?id=754520
https://bugzilla.gnome.org/show_bug.cgi?id=753434
2015-09-07 08:40:49 -04:00
Marek Chalupa
8e22bf5bc9
launcher: simplify getting session dbus proxy
...
Use path "/org/freedesktop/login1/session/self" instead of
getting session id and building the path manually
https://bugzilla.gnome.org/show_bug.cgi?id=753434
2015-09-07 08:40:20 -04:00
Jonas Ådahl
7ce06928e2
native: Actually close input device fds
...
Don't only release it, also close the fd so that we don't leak it.
https://bugzilla.gnome.org/show_bug.cgi?id=752753
2015-08-05 10:28:15 +08:00
Jasper St. Pierre
4d80a4cc31
Use more g_autofoo throughout mutter
2015-05-29 17:18:35 -07:00
Rui Matos
90a28e7b1c
native/meta-launcher: Reset idle time when our session becomes active
...
https://bugzilla.gnome.org/show_bug.cgi?id=749994
2015-05-28 13:47:08 +02:00
Jasper St. Pierre
23c00688b4
launcher: Fix a gcc warning
...
self could be returned uninitialized.
2015-02-26 00:13:16 -08:00
Ray Strode
cbad65f657
native: don't leak logind session proxy
...
It's currently getting leaked in error paths
https://bugzilla.gnome.org/show_bug.cgi?id=745141
2015-02-25 10:56:50 -05:00
Jasper St. Pierre
71dab32769
launcher: Fix a crash that happens when TakeDevice has an error
2014-11-26 13:28:47 -08:00
Jasper St. Pierre
5f0fab2156
Conditionalize Wayland support again
2014-08-13 20:28:22 -04:00
Jasper St. Pierre
467465c99c
backend: Create the stage in the backend, rather than the compositor
...
This allows creating the stage much earlier than it otherwise would have
been. Our initialization sequence has always been a bit haphazard, with
first the MetaBackend created, then the MetaDisplay, and inside of that,
the MetaScreen and MetaCompositor.
Refactor this out so that the MetaBackend creates the Clutter
stage. Besides the clarity of early initialization, we now have much
easier access to the stage, allowing us to use it for things such as
key focus and beyond.
2014-08-13 20:08:46 -04:00
Rui Matos
7d54631ebf
backends: Make MetaBackend available to introspection
...
This moves meta-backend.h under meta/ and, for now, just exposes to
introspection the methods that we actually need in gnome-shell.
https://bugzilla.gnome.org/show_bug.cgi?id=734301
2014-08-07 11:31:59 +02:00
Jasper St. Pierre
8e5cfccf49
Revert "launcher: Put in some markers to help diff make a readable patch"
...
The markers have fulfilled their purpose.
2014-05-19 15:09:23 -04:00
Jasper St. Pierre
dcf64ca167
launcher: Replace mutter-launch with logind integration
...
This uses David Herrmann's new logind sessions interface to retrieve
fds for input devices, rather than using a custom setuid helper to do
the management. This vastly simplifies the interface.
This requires systemd v210, at least.
https://bugzilla.gnome.org/show_bug.cgi?id=724604
2014-05-19 15:09:23 -04:00
Jasper St. Pierre
f93fc1506b
launcher: Put in some markers to help diff make a readable patch
2014-05-19 15:09:22 -04:00
Jasper St. Pierre
4ee8fb8154
launcher: Pause Clutter during VT switches
2014-05-19 15:09:20 -04:00
Jasper St. Pierre
446b75907e
launcher: Remove the "VT-switched lock"
...
We'll replace it by pausing the Clutter master clock.
2014-05-19 15:03:06 -04:00
Jasper St. Pierre
5752079cbb
launcher: Finish the rename
...
Not sure how I missed this one...
2014-04-22 18:25:22 -04:00
Jasper St. Pierre
7014dc5368
launcher: Rename methods a bit
2014-04-22 17:42:25 -04:00
Jasper St. Pierre
fdaeb0cf9c
launcher: Fix indentation
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
59415bf49f
launcher: Unconditionally set the FD
...
We only open weston-launch if we're in the native backend,
so we don't need to check here.
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
3c3b94921f
launcher: Move activate_session abstraction into the launcher code
...
login1 has a separate ActivateSession request, so put it here so
that we don't have to modify any backend code.
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
0d9fa24be4
launcher: Fix up includes
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
9a98ec81d7
Rename meta-weston-launch to meta-launcher
...
We're going to replace this with a login1 implementation soon enough.
2014-04-22 17:41:48 -04:00