Summary: | Add WM_STATE match in kwin rules | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Gokdeniz Karadag <gokdenizk> |
Component: | rules | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | natalie_clarius, xaver.hugl |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Gokdeniz Karadag
2011-04-27 17:51:55 UTC
For your usecase there is the scripting API which would support that. Adding tracking maximized state with the window rules is not trivial and would probably not been added. @Gokdeniz You're aware that FF has a built-in fullscreen feature that (you want to use? and) also will allow you to end this state from the FF menu or the figured shortcut (where you'd need to know about alt+f3 or have a decoration toggle shortcut with your attempt) If you wish to hide the menubar for /all/ maximized clients, this is possible through an undocumented feature of kwin: kwriteconfig --file kwinrc --group Windows --key BorderlessMaximizedWindows true qdbus org.kde.kwin /KWin reconfigure (In reply to comment #2) > @Gokdeniz > You're aware that FF has a built-in fullscreen feature that (you want to use? > and) also will allow you to end this state from the FF menu or the figured > shortcut (where you'd need to know about alt+f3 or have a decoration toggle > shortcut with your attempt) One difference; the fullscreen option of Firefox hides the tab bar and other toolbars. > If you wish to hide the menubar for /all/ maximized clients, this is possible > through an undocumented feature of kwin: > kwriteconfig --file kwinrc --group Windows --key BorderlessMaximizedWindows > true > qdbus org.kde.kwin /KWin reconfigure I have become aware of this undocumented setting while looking for a solution to my use case. While I have not looked into Kwin scripting API yet, filtering windows by window state seemes like a good idea. In compiz, one can enter filters like this any & !(class=Firefox & state=maxvert & role=browser) source: http://www.webupd8.org/2011/03/firefox-4-get-tabs-in-title-bar-like.html Removing the decorations of maximized windows has been a feature in KWin for a while, closing this |