Progress - Gen_Witt

redgen_witt wrote
on September 30th, 2008 at 12:07 am
Previous Entry Share Next Entry

Progress

Firefox has had a long standing bug that there is no quit keyboard shortcut (bug 189290). I always thought this was an awesome feature, but it got "fixed" in firefox 3. Here is an extension I wrote to remove the quit shortcut. I've been told that "Quit" doesn't exist in windows, so I guess this is only for the Linux/OS X users out there.

Just so you know, you really shouldn't install this extension, it could do all manner of nefarious things. Unless, of course, you trust me.
mood: anoyed

(Leave a comment)
From:greatbiggary
Date:2008-09-30 07:11 pm (UTC)
(Link)
Quit shortcut? You mean like Alt+F4? That seems to work on everything on Windows and Linux for me.
(Reply) (Thread)
From:gen_witt
Date:2008-09-30 08:03 pm (UTC)
(Link)
M-F4 closes the window, and it's not actually part of firefox under linux it's part of your windowmanager. Firefox added C-Q which closes all of your windows, and it's unhelpfully right next to C-W, so I actidently hit it on occassion.
(Reply) (Parent) (Thread)
From:greatbiggary
Date:2008-09-30 10:55 pm (UTC)
(Link)
The window manager sends a 'hint' to the program upon the Alt+F4, no? Is that how that works?
(Reply) (Parent) (Thread)
From:gen_witt
Date:2008-10-01 03:11 am (UTC)
(Link)
Todays lesson will be from the book of ICCCM, chapter 4, verse 2.8.1.

If the program advertises that it supports clean window destruction by adding the WM_DELETE_WINDOW atom to WM_PROTOCOLS list on it's top level windows; then the window manager sends a CleintMessage to the top level window with data[0] = WM_DELETE_WINDOW. If the program does not set WM_DELETE_WINDOW, the window manager is free to unceremoniously quit the program that created the window using XKillClient().
(Reply) (Parent) (Thread)
From:kvance
Date:2008-10-01 12:05 am (UTC)
(Link)
Not on dvorak, though coincidentally I have disabled C-M for running a mailer ;)
(Reply) (Parent) (Thread)
From:lifftchi
Date:2008-10-01 07:58 am (UTC)
(Link)
Now, the real question: does it work for Seamonkey?
(Reply) (Thread)
From:gen_witt
Date:2008-10-01 06:02 pm (UTC)
(Link)
I downloaded seamonkey and started picking apart all of it's chrome. It's way different, so unfortunatly I cannot easily make this same extension for it.
(Reply) (Parent) (Thread)

(Leave a comment)