
I have a problem with Firefox and Opera windows. Both seem to move or resize or readjust in a way I haven't figured out yet when switching to the tag where either is the only window. I've configured a manageHook to doFullFloat on isFullScreen and doFloat on many Firefox sub-windows/sub-dialogs which seems not transient (addons settings, etc., bookmarks). No manageHook for Opera. Firefox is Linux nightly. Opera is Linux 12.00. When I use a different then Unix style in Opera and make it maximized by pressing the button in the title bar it always unmaximizes anytime I change back to the tag with only Opera in it. To remove borders in fullscreen mode I've applied smartBorders to the layout. layoutHook = smartBorders (avoidStruts $ layoutHook defaultConfig) Chromium doesn't seem to have this problem. Any idea what's going on?

On Fri, Jun 22, 2012 at 3:27 PM, Carsten Mattner
I have a problem with Firefox and Opera windows.
Both seem to move or resize or readjust in a way I haven't figured out yet when switching to the tag where either is the only window.
I've configured a manageHook to doFullFloat on isFullScreen and doFloat on many Firefox sub-windows/sub-dialogs which seems not transient (addons settings, etc., bookmarks).
No manageHook for Opera.
Firefox is Linux nightly. Opera is Linux 12.00.
When I use a different then Unix style in Opera and make it maximized by pressing the button in the title bar it always unmaximizes anytime I change back to the tag with only Opera in it.
To remove borders in fullscreen mode I've applied smartBorders to the layout. layoutHook = smartBorders (avoidStruts $ layoutHook defaultConfig)
Chromium doesn't seem to have this problem.
Any idea what's going on?
Any idea?

On Sat, Sep 22, 2012 at 6:45 AM, Carsten Mattner
Any idea what's going on? Any idea?
I don't see a config anywhere so we can't even really begin to guess; for one thing, there are at least three ways to add fullscreen support to a config, each of which only works with some programs. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

On Sat, Sep 22, 2012 at 4:39 PM, Brandon Allbery
On Sat, Sep 22, 2012 at 6:45 AM, Carsten Mattner
wrote: Any idea what's going on? Any idea?
I don't see a config anywhere so we can't even really begin to guess; for one thing, there are at least three ways to add fullscreen support to a config, each of which only works with some programs.
import XMonad import XMonad.Util.EZConfig import XMonad.Util.Run import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageHelpers --import XMonad.Actions.FloatSnap import XMonad.Layout.NoBorders import XMonad.Layout.LayoutHints import XMonad.Layout.Fullscreen import XMonad.Prompt.Shell import XMonad.Prompt main = xmonad $ defaultConfig { terminal = "xterm" , manageHook = myManageHook <+> fullscreenManageHook <+> manageDocks <+> manageHook defaultConfig , layoutHook = fullscreenFloat $ fullscreenFocus $ layoutHints $ smartBorders $ avoidStruts $ layoutHook defaultConfig , handleEventHook = fullscreenEventHook } `removeKeysP` ["M-S-p", "M-h", "M-l", "M-e", "M-p", "M-w", "M-q", "M-t"] `additionalKeys` [ ((defModMask, xK_p), shellPrompt myXPConfig) , ((mod4Mask, xK_q), spawn "xmonad --recompile && xmonad --restart") ] --`removeMouseBindings` -- [ (defModMask, button1) ] --`additionalMouseBindings` -- [ ((defModMask, button1), -- (\w -> focus w >> mouseMoveWindow w -- >> snapMagicMove (Just 50) (Just 50) w)) ] defModMask = mod1Mask myXPConfig = defaultXPConfig { fgColor = "#bbbbbb" , bgColor = "#222222" , bgHLight = "#005577" , fgHLight = "#eeeeee" , position = Top , promptBorderWidth = 0 , defaultText = "" , alwaysHighlight = True } myManageHook = composeAll [ -- isFullscreen rule said to be not required since 0.10, but appears to be -- needed for Flash fullscreen or otherwise creates window border isFullscreen --> doFullFloat, className =? "MuPDF" --> doFloat, className =? "llpp" --> doFloat, className =? "ffplay" --> doFloat, className =? "Plugin-container" --> doFloat, -- Firefox flash, etc. className =? "Firefox" <&&> title =? "About Nightly" --> doFloat, className =? "Firefox" <&&> title =? "About Mozilla Firefox" --> doFloat, className =? "Firefox" <&&> title =? "Library" --> doFloat, className =? "Firefox" <&&> title =? "Preferences" --> doFloat, ]
participants (3)
-
Brandon Allbery
-
Carsten Mattner
-
Carsten Mattner