Start kodi in fullscreen (--fullscreen or alternative) #58
-
|
My objective is on start kodi 19 full screen. When launching kodi --fullscreen it appears to open at the correct resolution 2160p, however, the first line is displayed at 1/2 the height of the statusbar, dwmlbocks. So half the statusbar is showing. Toggling the status bar hides the bar and results in a black band. As an alternative to using "--fullscreen," I googled to see if there was a Rule isfullscreen like isfloating but not seeing it--I may have missed it. I have an interim solution running kodi in a window, using TOGGLEFULLSCREEN and LOSEFULLSCREEN patches, then mod+y to toggle to full screen. It displays correctly using this method. Any guidance would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
A stock dwm with no patches has support for applications starting in fullscreen based on the extended window manager hints (EWMH), this is handled in the void
updatewindowtype(Client *c)
{
Atom state = getatomprop(c, netatom[NetWMState]);
Atom wtype = getatomprop(c, netatom[NetWMWindowType]);
if (state == netatom[NetWMFullscreen])
setfullscreen(c, 1);
if (wtype == netatom[NetWMWindowTypeDialog])
c->isfloating = 1;
}I tried to replicate this using
I am not aware of any patch that does this, but it would not be particularly difficult to add. The result would be the same though as you would go through that same |
Beta Was this translation helpful? Give feedback.
-
|
You are the man! Disabling always center patch fixed it. Hm.. now the question is can I live without? Probably. lol |
Beta Was this translation helpful? Give feedback.
You are the man!
Disabling always center patch fixed it.
Hm.. now the question is can I live without? Probably. lol