From 04b4da47db77cfc275f26e05d920196f15ffe516 Mon Sep 17 00:00:00 2001 From: Andrea Azzarone Date: Sat, 22 Feb 2014 06:55:47 +0100 Subject: Correct handle the grab when using the keyboard shortcut to lock the screen. (bzr r3566.5.444) --- panel/PanelView.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'panel') diff --git a/panel/PanelView.cpp b/panel/PanelView.cpp index 93bb869fc..d5d678395 100644 --- a/panel/PanelView.cpp +++ b/panel/PanelView.cpp @@ -104,6 +104,7 @@ PanelView::PanelView(MockableBaseWindow* parent, menu::Manager::Ptr const& menus SetCompositionLayout(layout_); + tray_ = nullptr; if (!lockscreen_mode_) { tray_ = new PanelTray(monitor_); -- cgit v1.2.3