summaryrefslogtreecommitdiffstats
path: root/mgaapplet-upgrade-helper
diff options
context:
space:
mode:
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-xmgaapplet-upgrade-helper2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper
index bcebed42..afb68e99 100755
--- a/mgaapplet-upgrade-helper
+++ b/mgaapplet-upgrade-helper
@@ -203,7 +203,7 @@ sub check_preparation() {
}
sub upgrade() {
- my $xid = gtkroot()->XWINDOW;
+ my $xid = gtkroot()->get_xid;
run_program::raw({ detach => 1 }, 'xdg-screensaver', 'suspend', $xid);
my $_w = before_leaving { run_program::raw({ detach => 1 }, 'xdg-screensaver', 'resume', $xid) };