[Cuis-dev] Update: Alt+Return as a full screen toggle shortcut

Luciano Notarfrancesco luchiano at gmail.com
Mon Dec 21 22:27:09 PST 2020


Well, I use them with my tiling window manager for Cuis. I use alt-w to
close a window, alt-esc to toggle a window maximized state,
alt-shift-{B,W,etc} to open a browser, workspace, etc...

But I do this in my DWM package, and I override
KeyboardEvent>>sendTo:localPosition: to remove the other shortcuts now
included in the base image and instead call
WindowManagerMorph>>keyStroke:morph: (a class of my own in the DWM
package), and this method returns true if it handled the keystroke,
otherwise the event follows the normal flow.

I don’t use the global shortcuts from the base image, tho, and I’ll be
happy if we at least keep them in one place so I don’t get more troubles
when maintaining my package.

On Mon, 21 Dec 2020 at 11:00 PM, <ken.dickey at whidbey.com> wrote:

>
> Until 2019, there were no global shortcuts.  [Method 'versions' button
> is our friend]
>
> I would like to know why they were introduced and what problem(s) they
> solve.
>
>
> [Many thanks to Nahuel Garbezza btw, for cleaning the code to make it
> more understandable!]
>
> Note that I am happy to remove global shortcuts and almost never use
> full screen mode.
>
> I have also been surprised on occasion by the 'BrowserWindow
> Class>>findClass' popup.
>
>
> Juan, care to comment?  Anyone?
>
> Thanks,
> -KenD
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20201222/fb2ceac5/attachment.htm>


More information about the Cuis-dev mailing list