| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
At least once, right?
https://bugzilla.redhat.com/show_bug.cgi?id=1145144
|
|
|
|
|
|
| |
Make sure that the plugin is stopped when it's disposed of.
https://bugzilla.redhat.com/show_bug.cgi?id=1145144
|
|
|
|
|
|
| |
So that we don't get called out when the plugin is stopped.
https://bugzilla.redhat.com/show_bug.cgi?id=1145144
|
|
|
|
|
|
|
|
|
|
| |
It's not the screen where you can't see anything if the backlight isn't
on, it's a keyboard.
Make sure to only reset the keyboard backlight to the maximum when
there's an error reading that value.
https://bugzilla.gnome.org/show_bug.cgi?id=734074
|
|
|
|
|
|
|
|
|
| |
Without this, HAVE_GUDEV is not defined, and set_oled terminates
abruptely, leaving out the possibility to set the OLEDs on the Intuos 4.
As Bastien said "Not sure how we all missed that".
https://bugzilla.gnome.org/show_bug.cgi?id=731977
|
|
|
|
|
|
|
|
| |
When plugging in the type/touch cover on a Microsoft Surface, the
IIO sensor is unplugged, and plugged in again with a different
sysfs path. As the accelerometer comes and goes, we need to handle this
in the orientation plugin, and not bail out if we can't find the
accelerometer on startup, and handle devices coming and going.
|
|
|
|
|
|
|
| |
The idle was being removed, but the source ID was left != 0, so on
shutdown it'd cause warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=719973
|
|
|
|
| |
Instead of just FALSE, this is a cosmetic change.
|
|
|
|
|
| |
Instead of when finalizing the plugin, so that stop and starting
the plugin again works as expected.
|
|
|
|
|
|
|
| |
Fixes a regression from dd2477bf74510237310d41974ba3e342e6c95da1 where
regular files would never get deleted from the trash.
https://bugzilla.gnome.org/show_bug.cgi?id=733419
|
|
|
|
|
| |
When on AC, we wouldn't be resetting the timeout ID, and throwing
a warning later on, when the network state changed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We don't want to quit yet because if we do, gnome-shell and still
mapped windows lose their theme and icons. But we have to unown our
DBus name otherwise gnome-session will hang waiting for us.
This only works due to a bug in gnome-session where it handles any
client name being unowned as if the client has disconnected. Will need
to be revisited when that bug is fixed in gnome-session.
https://bugzilla.gnome.org/show_bug.cgi?id=727049
|
|
|
|
| |
To match the other g_file_delete() calls.
|
|
|
|
|
|
|
|
|
|
|
| |
Check whether a leaf node is a symlink before processing it, and if it
is, check whether we should delete the link itself.
This works around a possible bug in GIO where GFileEnumerators will get
the filetype of the linked-to item, instead of detecting that it is a
symlink.
https://bugzilla.gnome.org/show_bug.cgi?id=730223
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The caller already knows which idle mode it wants us to move to.
Automatically going back to the previous idle mode here would at best
cause a quick spurious idle mode switch which would be immediately
overriden by the caller or, at worst, we could go into suspend if the
previously saved mode was SLEEP.
The latter could happen on resume from suspend because there's a race
between idle_became_active_cb() and handle_wake_up_screen(). If the
second wins the race then we'd set a teporary unidle with the previous
mode being SLEEP, meaning that when idle_became_active_cb() cancels
the temporary unidle afterwards we'd immediately move to SLEEP again.
https://bugzilla.gnome.org/show_bug.cgi?id=729024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were trying to restart the timer when randr events tell us that
there are no longer any external monitors connected. But we were only
actually restarting if there was a timer scheduled already, i.e. in
case that there was no previous timer we wouldn't start a new one
either and thus we'd never clear the inhibitor. This would happen
when closing the lid, since we'd stop the timer on
do_lid_closed_action().
This commit simplifies the logic and makes the timer be one shot again
as was intended in 1e14c67 .
The logic now is:
1. Only take the inhibitor and start the timer on randr events,
unconditionally. If there was a timer running from a previous randr
event we stop it and start a new one so that the "grace period" is
always counted since the last randr event.
2. On the timer callback we check whether we should keep the inhibitor
and thus we either suspend at that point or don't. In any case, we
stop checking until we have further randr events.
3. When the lid closes, we only have to check if we should lock the
session. If the timer has elapsed already and we should suspend,
then the inhibitor is already gone and logind starts suspending
right away. Otherwise we suspend when the timer elapses and we
remove the inhibitor, unless we see an external monitor at that
point.
https://bugzilla.gnome.org/show_bug.cgi?id=729331
|
|
|
|
|
|
|
| |
The check to inhibit the lid close action when there's external monitors was
quitting after the first run, even though it announces it will check again later.
https://bugzilla.gnome.org/show_bug.cgi?id=719975
|
|
|
|
|
|
|
|
|
|
| |
When trying to wake up the screen, try to use XF86WakeUp in preference
to the left Alt. Don't use the right Alt key as it might be set as the
Compose key which would eat the event without resetting the idle.
Also make sure to initialise the keycode only once.
https://bugzilla.gnome.org/show_bug.cgi?id=729375
|
|
|
|
|
|
|
| |
Instead of comparing the shell's exit code by hand, use
g_spawn_check_exit_status() to get the script's exit code.
https://bugzilla.gnome.org/show_bug.cgi?id=710791
|
|
|
|
|
|
|
| |
The code at the bottom says we'll ignore further configuration if
"1" is returned, but the top said if "0" is returned.
Make both say "1".
|
|
|
|
|
|
|
|
|
| |
A non-native resolution, can still be hi-dpi - e.g., on my laptop,
gnome-settings-daemon lists a resolution of 1920x1440 on my 2560x1440
display. The other checks we have in place should be sufficient to
disable hi-dpi support if the user picks a small resolution.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
|
|
| |
If the screen is less than 1200 pixels high, don't turn on hi-dpi
support - GNOME isn't going to work with that little vertical
real estate, and it's better just to be small.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If we don't mix information from GnomeRR and GDK, then the "changed"
signal on GnomeRRScreen is all we need to properly know when the
resolution of the system is changed - mixing them presents problems
because GDK may not yet have updated it's information from X when the
"changed" is triggered by a D-Bus signal.
We still use GDK information before we have a GnomeRRScreen to minimize
the chance of switching the window scale during startup.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
|
|
| |
Since gnome-settings-daemon starts before Mutter, we need to use
gnome_rr_screen_new_async() to wait for Mutter to start and provide
the screen information over D-Bus.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
|
| |
The other test app might not have the same requirements as the
full plugin test app.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
| |
Even if HDMI is used.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
|
| |
If the output is HDMI, it's likely that the output is a TV, so
don't increase the scaling factor.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
|
|
| |
Check whether the panel is running at its native resolution before
applying the scaling factor. We don't want hi-dpi screens running
below native resolution to have a high scaling factor.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
|
| |
Not screen 0.
https://bugzilla.gnome.org/show_bug.cgi?id=709859
|
|
|
|
|
| |
XCloseDevice may cause a BadDevice error if the device disappeared before we
close it.
|
| |
|
|
|
|
|
|
| |
The device may have disappeared by the time we get here, so make sure we catch
BadDevice errors as well by moving the error trap push up before the first X
call.
|
|
|
|
|
|
| |
For the Intuos4 Wireless tablets.
https://bugzilla.gnome.org/show_bug.cgi?id=704167
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
gnome-session asks all registered clients to stop after the user
confirms the poweroff/logout dialog, but we should ignore that
request, because non registered applications are still mapped
and they would lose their theme and icons if we die (and same
for the shell).
We will go away as soon as the X11 connection is closed or the
session bus dies anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=707790
|
|
|
|
|
|
|
| |
Let's use glib's builtin facilities for signals instead of
our own pipe.
https://bugzilla.gnome.org/show_bug.cgi?id=707790
|
|
|
|
|
|
|
| |
The SessionOver signal is legacy and is never emitted by
gnome-session.
https://bugzilla.gnome.org/show_bug.cgi?id=707790
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before 34395459cc8f0da6f163736743bced441ef86390, apply_all_settings()
and then apply_numlock() would sync up the numlock LED on a newly
hotplugged device.
34395459cc8f0da6f163736743bced441ef86390 removed that call, so devices
now come up with the numlock LED off even when the numlock is on, and a
subsequent state change will wrongly toggle it, i.e. LED off when numlock
is on, LED on when numlock is off.
This should really be fixed in the xserver but it's unlikely to happen,
restoring this patch in gnome-settings-daemon seems the simplest solution
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=722753
|
|
|
|
|
|
| |
This reverts commit 11c0be5410caf47adaa968fb852f4a1f62210bde.
Wrong keybinding.
|
| |
|
|
|
|
|
|
|
|
| |
Super+S conflicts with the "panel main menu" shortcut.
See https://bugzilla.gnome.org/show_bug.cgi?id=720994
This reverts commit f20df9907933d24519a5e69d565cf25715349fda.
|
| |
|
|
|
|
|
|
| |
The offline updates status file needs to be around for the failed text and also
if we're using gnome-software to review the changed updates. We're already
removing it in the callback even for the non-gnome-software case.
|
| |
|