Commit graph

252 commits

Author SHA1 Message Date
Darrin Chandler
b9b62a7f36 Add -std=c89. We already were compliant, and this is mostly to encourage
better patches from the GNU crowd.

"do it" marco@
2009-09-13 17:28:19 +00:00
Darrin Chandler
370f758d74 cleanup debug code 2009-09-12 21:41:28 +00:00
Darrin Chandler
6bc2fbd59f Too big diff. Includes:
* Fix unbind, reported by Paul Irofti <bulibuta@sdf.lonestar.org>
  * Fix many memory leaks
  * Add custom program spawning & key binding to config

Man page additions to follow soonish.

"if you are confident it is done then get it in" marco@
2009-09-12 21:32:21 +00:00
Darrin Chandler
5f73b94a87 whitespace police. no actual changes. 2009-08-30 18:16:41 +00:00
Darrin Chandler
0717d488f8 Fix crash on NULL class/name strings in bar. Reported by and similar diff
from Gregory Edigarov.

ok marco
2009-08-16 15:50:52 +00:00
Darrin Chandler
53da032ea7 Switch config quirks from '|' to '+' to be consistent with other config
items.

With previous conf_load changes, space within [] are allowed, so class
and name can appear as-is.

Switch config file and man page to match.

Old behavior still allowed for compat with existing configs out there,
but not documented anywhere.

Prodding by marco for the first bit, at least.
2009-08-11 16:43:30 +00:00
Darrin Chandler
1610a87015 Remove fixed-length limitation on window class and name as used by quirks.
Removed from html TODO list.

Overhaul conf_load to better deal with foo[bar]= syntax. Conf_load now
does the bulk of the parsing, individual config functions now call funcs
to actually set the values.

ok pyr, marco
2009-08-11 16:20:55 +00:00
Marco Peereboom
da057fc298 Add more todo and bugs 2009-08-05 21:33:21 +00:00
merdely
09ccb5998d Fix homepage title. 2009-08-03 21:25:32 +00:00
Darrin Chandler
6392bc7807 Add myself to copyright in license.html
Prodded by marco
2009-08-02 16:03:49 +00:00
Darrin Chandler
2a427dbb43 update to-do 2009-08-01 22:43:08 +00:00
Darrin Chandler
6d36d6dbef Some class/name strings can be long. Bump up SWM_QUIRK_LEN to 64. It's not
surprising that it was a Java app that tripped this up. Leaving dynamic
allocation for a later commit.

ok marco
2009-08-01 19:59:12 +00:00
Darrin Chandler
251c87928a Fix bar spacing for when class:name is followed by other stuff. 2009-06-07 16:55:06 +00:00
Darrin Chandler
70f1465ca7 Rearrange class & name on bar to match quirk config style. 2009-06-07 16:40:35 +00:00
pyr
3d4c44b58d an unrelated commit reminded me I need to add myself to the copyright,
as advised by marco.
2009-06-04 17:22:43 +00:00
pyr
ef26984e39 Add two configuration options:
* title_name_enabled
	* title_class_enabled
The first one shows the active window title in the status bar, the
second the active window class (useful to find out window classes
to use with quirks). Both are disabled by default.
read & approved by marco.
2009-06-04 06:03:37 +00:00
Marco Peereboom
a4ecf5f75c Add control to known keys. from Juergen Daubert <jue@jue.li> 2009-05-28 19:40:13 +00:00
Marco Peereboom
f13ac4e98a one more tag 2009-05-28 19:04:30 +00:00
Marco Peereboom
7eba279832 Oops on cvs tag 2009-05-28 18:59:34 +00:00
Marco Peereboom
26fa228650 Add dwc to copyright 2009-05-28 18:47:41 +00:00
Marco Peereboom
0aa96eda7c Fix a ;; that breaks gcc 2.95 2009-05-28 18:25:30 +00:00
Marco Peereboom
6331e4cc44 Bump 2009-05-28 18:21:13 +00:00
Marco Peereboom
0ec8b7200e Add Version to mod shift v 2009-05-28 17:44:20 +00:00
Marco Peereboom
6691aefda3 Bump for release 2009-05-28 17:31:24 +00:00
Darrin Chandler
ce1a2d182e Break out static quirks list into dynamic list, initialized to match the
previous static list.

Add quirks parsing to config file.

Update manual with quirks.

Man help from Jason McIntyre (jmc). Thanks!

ok marco.
2009-05-25 22:04:56 +00:00
Darrin Chandler
6137a654c7 Fix my pasto for Mod+Shift+k -> swap_prev. Noticed by Marco.
"yes get this in damnit!" marco
2009-03-30 17:20:24 +00:00
Marco Peereboom
546e1cf5fe better wording 2009-03-15 15:40:35 +00:00
Marco Peereboom
d34b578433 Add Darrin and his work 2009-03-15 15:29:51 +00:00
Marco Peereboom
667eb8f700 new 2009-03-15 15:23:22 +00:00
Marco Peereboom
f4718a9695 Bump version for snap 2009-03-15 15:19:15 +00:00
Darrin Chandler
a1937a73b7 Add key binding capabilities to the configuration file. Some minor
refactoring.

"Sure, go ahead" mcbride, "ok get it in" marco
2009-03-10 01:32:06 +00:00
Marco Peereboom
2c968f5737 add majordomo 2009-03-06 18:13:05 +00:00
Ryan McBride
a52cdcaaf6 Handle focus-out events, watch for something that looks like synergy
stealing the cursor when it moves to another screen, and unfocus the
window if this happens. Makes synergy across multiple scrotwm machines
much nicer, as you only get the focus window border on one screen at
a time.

Also, unfocus_all is a sledgehammer, don't use it so much.
2009-03-04 06:13:35 +00:00
Marco Peereboom
3356f1ccd4 Update bar more often and remove ./ from baraction.sh 2009-02-20 14:28:32 +00:00
Marco Peereboom
1494ae5cc8 New man 2009-02-18 21:07:36 +00:00
Marco Peereboom
e17d2f0255 Bump version for snap 2009-02-18 20:42:31 +00:00
Marco Peereboom
6ddc03b50d Add clock format from merdely 2009-02-18 20:34:26 +00:00
Ryan McBride
f1d671a567 Also use terminus-medium in the sample scrotwm.conf. 2009-02-17 04:04:05 +00:00
Ryan McBride
4e54852f68 Terminus fonts changed in OpenBSD -current, make sure we specify medium
otherwise the bar is bold.
2009-02-17 03:10:53 +00:00
Marco Peereboom
4d04757a77 Fix crash 2009-02-16 04:45:35 +00:00
Marco Peereboom
d21f9c38fd Add modkey 2009-02-16 00:06:49 +00:00
Marco Peereboom
6d109bd692 .conf entry for modkey so that pepople will stop pestering me for the
windows key mod.
2009-02-16 00:03:53 +00:00
Marco Peereboom
74a35e47dc Embed wmname code from suckless.org to work around stupid sun shit. 2009-02-15 23:23:24 +00:00
Marco Peereboom
5f7c713e63 quirk Firefox Dialog 2009-02-15 22:56:15 +00:00
Ryan McBride
0266c3c6c3 If the master window already has focus when M-m is pressed, switch focus
back to the previously focused window, to match the behaviour of M-enter.

Pointed out by jacekm@.
2009-02-13 00:47:21 +00:00
Marco Peereboom
762accdc02 mcbrides crazy baraction.sh overflows the bar so make it bigger 2009-02-12 22:28:14 +00:00
Marco Peereboom
76ccafd502 Fix missing bars when going multiscreen or in freebsd. Reported by
Tom Doherty <tdoherty@nyx.com>
2009-02-12 22:09:44 +00:00
Marco Peereboom
9a45e3891c Kill some {} 2009-02-12 21:14:14 +00:00
Marco Peereboom
b324240783 Beware of stolen code for it was written on little endian and 32 bits. 2009-02-12 20:58:04 +00:00
Marco Peereboom
0acaa22173 Add pcb quirk. From Mark Peoples <marco@tuppy.intrepidhosting.net> 2009-02-12 17:48:05 +00:00