3 ms·
> No title bars, no status bars, no buttons, no borders, no menus, etc. > All windows are full-screen, just one is visible at any given time. Oh, it's like ca
by yjftsjthsd-h 1y ago
> No title bars, no status bars, no buttons, no borders, no menus, etc.
> All windows are full-screen, just one is visible at any given time.
Oh, it's like cage ( https://github.com/cage-kiosk/cage https://github.com/cage-kiosk/cage ) for X11. I was wondering ex. how you'd even move windows around in that little code; the answer is "you don't":)
- chmod775 1y agoNo it's not. It lets you cycle through active windows with a hotkey, lets you close the current window, and launches dmenu to let you open more applications.
- vidarh 1y agoThis one lets you move windows around: https://github.com/mackstann/tinywm/blob/master/tinywm.c https://github.com/mackstann/tinywm/blob/master/tinywm.c
- mosquitobiten 1y agoWhat's the point of the cage?
- yjftsjthsd-h 1y agoIt's probably for building appliance/kiosk systems, though it's handy for anything where you just want to run a single application fullscreen.
- 1718627440 1y agoIf you want a single application fullscreen, you can just not start a window manager though.
- p_l 1y agoIn practice multiple applications get confused, and some don't support -geometry or equivalent. One specific case I dealt with was Chrome/Chromium that provided all sorts of annoyances until we dropped in a minimal WM (back then it was awesomewm, I didn't know about cage or it didn't exist yet)
- 1718627440 1y ago> applications get confused Haven't had that yet. I thought of a single application the whole time, aka. kiosk, then it shouldn't matter.
- p_l 1y agoIn ye olden times, when most X11 applications understood "-geometry" and didn't try to do too much in absence of WM, things worked. Chromium and possibly others (Chromium is just what I have personally dealt with) was confused about what did it mean to be fullscreen, and various other ideas regarding placing itself on screen. I did success in making it work for a time, but it was problematic.