Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Emacs version is 24.2.1, OS: Linux Slackware 14.0. I am using fullscreen function to maximize it on startup. Clicking maximize button does the same.

But I mentioned, that it is not fully maximized. Look carefully at the screenshot. You'll see the words "About Slackware and FreeBSD ,Who is Fast?" from Firefox.

enter image description here

How can I make it fully maximize?

share|improve this question
    
The solution is here: userbase.kde.org/KWin_Rules_Application_Workarounds –  user4035 Apr 21 '13 at 10:33

1 Answer 1

This code in .emacs works for me (Ubuntu 10.04) .. It uses two steps: emacs' maximize and then the Window Manager's maximize.

(require 'maxframe)
(add-hook 'window-setup-hook 'maximize-frame t)
(defun maximize-wm (&optional f)
       (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
               '(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
       (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
               '(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0)))
(maximize-wm)
share|improve this answer
    
This doesn't work. Seems to be a KDE interaction problem. –  user4035 Apr 21 '13 at 10:23
    
The solution is here: userbase.kde.org/KWin_Rules_Application_Workarounds –  user4035 Apr 21 '13 at 10:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.