I am using emacs with Ubuntu (12.04 LTS). I used the following command to put it on fullscreen
(defun toggle-fullscreen (&optional f) (interactive) (let ((current-value (frame-parameter nil 'fullscreen))) (set-frame-parameter nil 'fullscreen (if (equal 'fullboth current-value) (if (boundp 'old-fullscreen) old-fullscreen nil) (progn (setq old-fullscreen current-value) 'fullboth)))))
Quite recently (after some update I guess) something iritating has begin to happen. Each time I switch from one deskop to the one containing emacs in fullscreen the menu bar and the small diagram in the middle of the screen representing the four virtual deskops blink a dozen of times before disapearing as normal (being hidden by the fullscreen emacs frame).
Do you have any idea about what is causing this behaviour and how I could correct it?