diff --git a/NEWS b/NEWS index 666533e2..8826639f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +* #3045 Fix clipboard palettes behavior. (marco) * #2739 Make frame show on corners also after showing palettes. (marco) Snapshot 47f473189e diff --git a/shell/model/shellmodel.py b/shell/model/shellmodel.py index 532d0c2a..5462e27f 100644 --- a/shell/model/shellmodel.py +++ b/shell/model/shellmodel.py @@ -52,6 +52,7 @@ class ShellModel(gobject.GObject): self._current_activity = None self._state = self.STATE_RUNNING self._zoom_level = self.ZOOM_HOME + self._showing_desktop = True self._pservice = presenceservice.get_instance() @@ -105,4 +106,7 @@ class ShellModel(gobject.GObject): return self._devices def _showing_desktop_changed_cb(self, screen): - self.notify('zoom-level') + showing_desktop = self._screen.get_showing_desktop() + if self._showing_desktop != showing_desktop: + self._showing_desktop = showing_desktop + self.notify('zoom-level')