Commit graph

439 commits

Author SHA1 Message Date
Ryan McBride
31f5dfdc37 Actually, DON'T set the ws->r to a bogus value.
It's perfectly legal for us to start managing a window in a workspace
that's not active - for example, when we start a process and change
workspaces before the window is created, or when scrotwm restarts.
2009-10-01 09:44:09 +00:00
Marco Peereboom
5229928497 Mostly fix max_stack. Only known bug is that the focuses window doesn't
always end up on top.  Attempts to fix that were unsuccessful.
2009-09-30 21:23:55 +00:00
Marco Peereboom
3b1be00edc OMG fix a 100 year old ryan bug that has been pissing me off since regions
got introduced and i pretended it was a quirk.
2009-09-30 20:15:02 +00:00
Marco Peereboom
840c2ac2b6 One more of cur_focus fallout 2009-09-30 18:08:58 +00:00
Marco Peereboom
13f0f8ce2e Fix move_to_ws as fallout from killing cur_focus 2009-09-30 18:02:18 +00:00
Marco Peereboom
75821e934e Sprinkle some if (running == 0) around sensitive spots; seems to make the
intel chip not fuck itself all the time on exit.
2009-09-30 17:19:03 +00:00
Marco Peereboom
4a52579466 fix switchws after M-q by trying harder to find a focus window. 2009-09-30 16:45:24 +00:00
Marco Peereboom
85cb80b39a Add an extra font that more people likely have.
From Juergen Daubert <jue@jue.li>

Add a "lose focus after ws fix" for slow launching apps such as gimp.
This will likely break xrandr multi screen but that is a fix for later.
2009-09-30 04:21:49 +00:00
Marco Peereboom
597613109e Use cut instead of awk for some sort of mem saving.
From Sepp0 <sepp0@openbsderos.org>
2009-09-30 02:50:11 +00:00
Marco Peereboom
a2601f5da3 fix pics 2009-09-30 02:45:32 +00:00
Marco Peereboom
f4f09d2e92 fix links 2009-09-30 02:42:45 +00:00
Marco Peereboom
9f7853c64c Add spanish 2009-09-30 02:33:44 +00:00
Marco Peereboom
7dae26a162 Make sure we open transient in same ws as parent; this does not work 100%
on intel xrandr.  It seems that the intel driver switched the geometry
so that 0.0 isnt in the top left corner or something.
2009-09-29 22:35:02 +00:00
Marco Peereboom
cecd90ba6a Fix yet a few more corner cases of focus woes. We are down to 1 bug.
Damn you transients!
2009-09-29 21:23:59 +00:00
Marco Peereboom
5bc67cb7a8 And kill got_focus 2009-09-29 19:01:50 +00:00
Marco Peereboom
e4db6aa24a Continuing cleanup of focus. Clean all known nits in xrandr too.
Warp pointer to screen 0 when multi screen on restart.
Remove some dead code.
2009-09-29 18:59:09 +00:00
Marco Peereboom
3a97b91dd1 First round of cur_focus cleanup. 2009-09-29 15:06:37 +00:00
Marco Peereboom
d1911117b1 Bite the bullet and add some signal handling to reap them children.
Kill cur_focus that caused all kinds of grief.  This, deliberately, has not
been cleaned yet.  The idea is to completly overhaul the focus code that
is slimy and stinky.  Oh and it has all kinds of rotten dead code as well.
2009-09-29 14:25:40 +00:00
Marco Peereboom
7e10528f09 Clarify quirks 2009-09-28 17:15:15 +00:00
Marco Peereboom
de776ba84d Fix stupid lib install location, from sthen 2009-09-26 16:40:08 +00:00
Marco Peereboom
8954cdcdbf Add dumpevent and clean up some dwc debug goop. 2009-09-25 19:25:29 +00:00
Marco Peereboom
a674220643 Remove an unused var. 2009-09-23 12:02:35 +00:00
Marco Peereboom
1a638a1e8b We fixed the linux make files 2009-09-23 05:18:56 +00:00
Marco Peereboom
0c30c1e893 meh no need to copy a diff 2009-09-23 05:16:14 +00:00
Marco Peereboom
6f1b66f723 Never unmange windows when unmapping. 2009-09-23 04:55:46 +00:00
Marco Peereboom
33babfbdd7 Make sure we unmange windows in non active workspaces; this sometimes
lead to leftover blank holes.

Fix some non c89 shit too.
2009-09-23 04:20:51 +00:00
Marco Peereboom
9a3cc89493 Add quick for soffice 3.1 2009-09-23 03:53:09 +00:00
Marco Peereboom
bab419a56d Fix nasty stacking bug that windows don't appear if they are the only
transient one in a workspace.
2009-09-23 03:34:58 +00:00
Marco Peereboom
b9d28b5c06 Make linux makefile work nicer; from Tobias Ulmer <tobiasu@tmux.org> 2009-09-17 02:22:52 +00:00
Marco Peereboom
fe7e01e141 Fix missing $ from tobiasu.
Bad dwc!
2009-09-17 02:11:34 +00:00
Marco Peereboom
cd8f3f52f7 Make tags all the same.
Add amateurish script to generate a release; beats me typing it
2009-09-13 22:28:53 +00:00
Marco Peereboom
52847d8341 kill iostat when restarting scrotwm
from Joe Gidi <joe@entropicblur.com>
2009-09-13 21:37:39 +00:00
Marco Peereboom
1984ff720f Add mem to script; disabled of course.
from sepp0@openbsd.org.ar
2009-09-13 21:01:36 +00:00
Marco Peereboom
0fa720e938 new man 2009-09-13 20:50:59 +00:00
Darrin Chandler
29a7ae2ee3 fix conf xterm quirk to use an actually defined quirk name 2009-09-13 20:48:53 +00:00
Marco Peereboom
41b210549d Fix library path so that i don't waste a bunch of time every time i test
scrotwm
2009-09-13 20:38:04 +00:00
Darrin Chandler
fc30ad30ff Man update for new program[] config stuff.
"get it in please" marco@
2009-09-13 20:07:30 +00:00
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