Marco Peereboom [Mon, 11 Jan 2010 20:44:54 +0000 (20:44 +0000)]
Make compile in cygwin
Marco Peereboom [Thu, 7 Jan 2010 01:30:25 +0000 (01:30 +0000)]
roll version for new snap
Marco Peereboom [Wed, 25 Nov 2009 17:03:53 +0000 (17:03 +0000)]
bump version
Marco Peereboom [Wed, 25 Nov 2009 17:03:04 +0000 (17:03 +0000)]
add osx
Marco Peereboom [Wed, 25 Nov 2009 16:50:20 +0000 (16:50 +0000)]
installation instructions
Marco Peereboom [Wed, 25 Nov 2009 16:12:13 +0000 (16:12 +0000)]
*sigh* work around linking retardation
Marco Peereboom [Wed, 25 Nov 2009 15:13:29 +0000 (15:13 +0000)]
tell them how to make apple key work
Marco Peereboom [Wed, 25 Nov 2009 15:11:29 +0000 (15:11 +0000)]
Brag about osx and linux
Marco Peereboom [Wed, 25 Nov 2009 15:09:09 +0000 (15:09 +0000)]
add osx support
Marco Peereboom [Fri, 6 Nov 2009 04:55:18 +0000 (04:55 +0000)]
clean some warns
Ryan McBride [Fri, 6 Nov 2009 04:51:21 +0000 (04:51 +0000)]
Fix typo in debug, make scrotwm build again.
Marco Peereboom [Fri, 6 Nov 2009 04:41:28 +0000 (04:41 +0000)]
Kill tons of events to make mplayer work again
ok mcbrider
Ryan McBride [Fri, 30 Oct 2009 01:56:00 +0000 (01:56 +0000)]
Enforce ordering on focusevent types.
Marco Peereboom [Thu, 29 Oct 2009 18:47:48 +0000 (18:47 +0000)]
ryan keeps putting variables in ifs for some reason...
Ryan McBride [Thu, 29 Oct 2009 11:16:33 +0000 (11:16 +0000)]
Some more subtleties for the focus handling code. In particular:
- A global last_focus_event helps us to determine whether another process
is playing with focus without telling us.
- merge focusin and focusout into a single focusevent, handle focus change
events triggered by synergy.
- Fix focus issues when entering a fullstack window from another region, by
checking to see which ws the focus is coming from before ignoring the
event.
Marco Peereboom [Wed, 28 Oct 2009 22:43:48 +0000 (22:43 +0000)]
Link russian
Marco Peereboom [Wed, 28 Oct 2009 22:20:07 +0000 (22:20 +0000)]
link man to russian
Marco Peereboom [Wed, 28 Oct 2009 22:18:06 +0000 (22:18 +0000)]
Add russian
Marco Peereboom [Wed, 28 Oct 2009 22:14:58 +0000 (22:14 +0000)]
add russian man
Ryan McBride [Wed, 28 Oct 2009 00:57:36 +0000 (00:57 +0000)]
Revert previous commit, clearly I was on crack.
Ryan McBride [Tue, 27 Oct 2009 10:49:47 +0000 (10:49 +0000)]
remove the ev->state check in enternotify()
ev->state indicates the state of the buttons and modifier keys, so it's not
just workspace changes but any time these buttons are down. This heuristic
breaks focus with mouse buttons down and when creating new terminals with
m-s-enter, among other things.
Ryan McBride [Tue, 27 Oct 2009 10:42:46 +0000 (10:42 +0000)]
Add more debug output to enternotify().
Marco Peereboom [Sun, 25 Oct 2009 00:32:33 +0000 (00:32 +0000)]
Add russian
Marco Peereboom [Sat, 24 Oct 2009 15:34:50 +0000 (15:34 +0000)]
bump version for release
Marco Peereboom [Sat, 24 Oct 2009 15:34:24 +0000 (15:34 +0000)]
add modes per sthen
Marco Peereboom [Sat, 24 Oct 2009 14:21:18 +0000 (14:21 +0000)]
Make enternotify prettier
Marco Peereboom [Fri, 23 Oct 2009 20:56:37 +0000 (20:56 +0000)]
In max stack we need to ignore all enternotifiy events.
Rever previous as part of this since it was a busted heuristic.
Marco Peereboom [Fri, 23 Oct 2009 20:33:53 +0000 (20:33 +0000)]
Add simple heuristic to max_stack focus to deal with new event reality.
This mostly uses the same logic as a normal stack but it detects if the
previous window got unmapped and goes back to the parent. The rest is
the same code as stacked focusing.
Marco Peereboom [Fri, 23 Oct 2009 20:07:06 +0000 (20:07 +0000)]
ugh, i can't believe i have looked for this bug this long...
now jxplorer is correctly focussed when it is the nth window in the stack
when created
Marco Peereboom [Fri, 23 Oct 2009 16:39:45 +0000 (16:39 +0000)]
Fix the damned enternotify code for real.
Weed out VirtualNotify (switch ws and border crossings) and InferiorNotify
(focus on self, aka touching its own border).
Then check for ConfigureNotify to see if a window is being deleted or moved
to another work space.
This is the smaller hammer for the QLength trick that used to be in there.
If we still have focus issues we need to work those but this is worth
going in.
Ryan McBride [Fri, 23 Oct 2009 06:24:18 +0000 (06:24 +0000)]
Remove over-eager optimization in focus_magic().
This win == win->ws->focus check makes scrotwm forget the correct
focus across workspace changes. Unnecessary focus changes are prevented
by the XGetInputFocus() check anyways.
Marco Peereboom [Fri, 23 Oct 2009 04:05:19 +0000 (04:05 +0000)]
get rid of a bunch of focus in and out events
ok mcbride
Marco Peereboom [Fri, 23 Oct 2009 02:07:00 +0000 (02:07 +0000)]
missing br
Marco Peereboom [Fri, 23 Oct 2009 02:00:01 +0000 (02:00 +0000)]
todo items
Ryan McBride [Wed, 21 Oct 2009 09:39:43 +0000 (09:39 +0000)]
Fix debug printf in unfocus_all_except().
Ryan McBride [Wed, 21 Oct 2009 06:29:17 +0000 (06:29 +0000)]
Make the unfocus_all() hammer slightly smaller.
Marco Peereboom [Tue, 20 Oct 2009 23:22:44 +0000 (23:22 +0000)]
Bump version
Marco Peereboom [Tue, 20 Oct 2009 22:42:35 +0000 (22:42 +0000)]
Add better focus code that deals with prev a little better.
This needs more love but it is getting closer to being correct.
Marco Peereboom [Sun, 18 Oct 2009 15:06:15 +0000 (15:06 +0000)]
update bar when cycling layout
Marco Peereboom [Fri, 16 Oct 2009 04:51:35 +0000 (04:51 +0000)]
Add some #define to make code more obvious
Marco Peereboom [Fri, 16 Oct 2009 04:40:05 +0000 (04:40 +0000)]
more focus cleanz
Marco Peereboom [Fri, 16 Oct 2009 04:28:40 +0000 (04:28 +0000)]
Add first chunk of advanced focus prev handling.
Marco Peereboom [Thu, 15 Oct 2009 22:18:45 +0000 (22:18 +0000)]
make parent appear under transient in full screen.
Marco Peereboom [Thu, 15 Oct 2009 20:42:59 +0000 (20:42 +0000)]
Remove all focus code from functions and replace it with a single function.
This works reasonably well but all the corner cases now need to be built.
Getting it in because it was becomming unwieldly.
As fas as I know this fixes all use after free issues. It is mean in that
it paints the old entries and has several aborts ready to go when something
bad happens.
Marco Peereboom [Wed, 14 Oct 2009 16:37:17 +0000 (16:37 +0000)]
Take port ownership
Marco Peereboom [Wed, 14 Oct 2009 14:40:21 +0000 (14:40 +0000)]
bump version
Marco Peereboom [Wed, 14 Oct 2009 14:00:09 +0000 (14:00 +0000)]
oops disable debug again.
remove some dead code.
Marco Peereboom [Wed, 14 Oct 2009 13:56:02 +0000 (13:56 +0000)]
In the destroy path do not use a previously unmanaged window focus
pointers.
Some cleanup.
Marco Peereboom [Tue, 13 Oct 2009 18:57:59 +0000 (18:57 +0000)]
Make it match sthen's stuff
Marco Peereboom [Tue, 13 Oct 2009 18:57:37 +0000 (18:57 +0000)]
Remove some XXX that were fixed and bump version.
Marco Peereboom [Tue, 13 Oct 2009 17:22:42 +0000 (17:22 +0000)]
Don't allow move and resize out of region.
Marco Peereboom [Tue, 13 Oct 2009 16:12:20 +0000 (16:12 +0000)]
Make mplayer work again in xrandr.
Moving a window manually into a new region needs to be unfucked.
Marco Peereboom [Tue, 13 Oct 2009 14:38:49 +0000 (14:38 +0000)]
shame on you ulrich drepper! there is no limit as to how much more you
can fuck up glibc.
Marco Peereboom [Tue, 13 Oct 2009 14:32:18 +0000 (14:32 +0000)]
Fix first batch of mplayer issues as a fallout of reducing number of events
Marco Peereboom [Tue, 13 Oct 2009 03:44:06 +0000 (03:44 +0000)]
make port work
Marco Peereboom [Tue, 13 Oct 2009 03:43:36 +0000 (03:43 +0000)]
Oops forgot to commit this
Marco Peereboom [Tue, 13 Oct 2009 02:28:47 +0000 (02:28 +0000)]
OMGOMGOMG I found the actual mapping bug. I won't tell you where but
I added a whole bunch of nice code while debigging it. So we are keeping
that.
Marco Peereboom [Mon, 12 Oct 2009 04:10:47 +0000 (04:10 +0000)]
Bump version
Marco Peereboom [Mon, 12 Oct 2009 04:09:17 +0000 (04:09 +0000)]
Large change to try to fix programs like roxterm that need more wm love.
Really they are just a bunch of needy children but oh well.
Remove ws->restack since it wasn't used.
Add configreq_win to send syntetic configure requests.
Remove some callbacks that really made no difference (unmap and destroy)
Make XConfigureWindow only be called when necessary.
Fix mplayer that was disapearing after fullscreen.
Marco Peereboom [Sun, 11 Oct 2009 06:09:12 +0000 (06:09 +0000)]
Make distinfo base64. whomever came up with that is retarded.
Marco Peereboom [Sun, 11 Oct 2009 00:57:59 +0000 (00:57 +0000)]
add mirrors
Marco Peereboom [Sun, 11 Oct 2009 00:47:37 +0000 (00:47 +0000)]
Link italian
Marco Peereboom [Sun, 11 Oct 2009 00:24:30 +0000 (00:24 +0000)]
Italian man and front page from Andrea Bolognani <eof@kiyuko.org>
Marco Peereboom [Sat, 10 Oct 2009 23:24:55 +0000 (23:24 +0000)]
use different heuristic to determine if a window needs to be unmanaged
outside of the normal handling. Not sure if this covers all cases but
I can't recreate holes in the stacker or crashes when stressing.
Marco Peereboom [Fri, 9 Oct 2009 18:26:41 +0000 (18:26 +0000)]
Be more careful with pointers in swapwin
Marco Peereboom [Fri, 9 Oct 2009 02:28:04 +0000 (02:28 +0000)]
Add initscreen.sh
Marco Peereboom [Thu, 8 Oct 2009 19:21:24 +0000 (19:21 +0000)]
Add unusual paranoia to make sure we crash and dump core if we see any
sign of trouble in switchws.
Roll back version to 0.9.11 for snapshot.
Marco Peereboom [Thu, 8 Oct 2009 12:22:06 +0000 (12:22 +0000)]
I have been debating this one for a while but I think we need to drain
all but the last event. So lets run with this for a while and see what
happens.
Marco Peereboom [Thu, 8 Oct 2009 04:50:27 +0000 (04:50 +0000)]
sprinkle more if p == null return.
we should audit all functions for this.
Marco Peereboom [Thu, 8 Oct 2009 04:40:56 +0000 (04:40 +0000)]
Set withdrawn sate for unmanaged windows. We needed it after all for
restarting the wm.
Add more paranoia around pointers in switchws.
Remove some dup code in the restart wm function.
Marco Peereboom [Wed, 7 Oct 2009 15:36:56 +0000 (15:36 +0000)]
Add mock port
Marco Peereboom [Wed, 7 Oct 2009 15:33:36 +0000 (15:33 +0000)]
generate a port while running release
Marco Peereboom [Wed, 7 Oct 2009 03:19:11 +0000 (03:19 +0000)]
Man page fixes and italian page from: Andrea Bolognani <eof@kiyuko.org>
Marco Peereboom [Wed, 7 Oct 2009 02:40:41 +0000 (02:40 +0000)]
oops; remove some dead code.
Marco Peereboom [Wed, 7 Oct 2009 02:38:38 +0000 (02:38 +0000)]
Unfuck java by working around several java issues.
Implement WM_TAKE_FOCUS.
Make transients always the focus when entering either the parent or the
transient window itself.
Marco Peereboom [Tue, 6 Oct 2009 17:04:53 +0000 (17:04 +0000)]
There are no words to describe how completly retarded java is...
Treat it short-bus-special.
Marco Peereboom [Mon, 5 Oct 2009 19:35:14 +0000 (19:35 +0000)]
Move version to 1.0.
Marco Peereboom [Mon, 5 Oct 2009 19:34:10 +0000 (19:34 +0000)]
Fix max_stack once more. Fallout from previous diff.
Marco Peereboom [Mon, 5 Oct 2009 17:03:47 +0000 (17:03 +0000)]
Fix stress issue when keeping ctrl-d pressed when deleting 10 or so
windows. It comes down to events being tossed by the x server causing
dead windows to not be removed from the managed list. Apply a huge hammer
by removing the dead windows from the list when counting them for stacking
purposes.
Undo some previous added synchronization code that was not necessary but
had given me the illusion of serializing some things.
Marco Peereboom [Sun, 4 Oct 2009 21:53:31 +0000 (21:53 +0000)]
This fixes most of the stress issues but not all yet. Fucking X sucks.
Marco Peereboom [Sun, 4 Oct 2009 06:05:57 +0000 (06:05 +0000)]
At least dwc is consistent in is ability to violate KNF.
Marco Peereboom [Sun, 4 Oct 2009 05:58:27 +0000 (05:58 +0000)]
Add some serialization. Prevents some crashes under extreme load.
Not happy with it yet but it beats shitting X. This will never be seen
under normal load.
Marco Peereboom [Sun, 4 Oct 2009 04:30:41 +0000 (04:30 +0000)]
oops use right structure in mapevent and create a mappingevent too...
Marco Peereboom [Sat, 3 Oct 2009 22:20:11 +0000 (22:20 +0000)]
shuffle some stuff around to make more sense
Marco Peereboom [Sat, 3 Oct 2009 21:43:07 +0000 (21:43 +0000)]
Focus the right window when cycling through visible screens.
Since we are warping the pointer put it in the right windows as well.
Marco Peereboom [Sat, 3 Oct 2009 21:31:05 +0000 (21:31 +0000)]
More love for unmapping transients. Basically force parent's focus.
Marco Peereboom [Sat, 3 Oct 2009 20:35:01 +0000 (20:35 +0000)]
More max stack love. When destroying a transient refocus parent.
Marco Peereboom [Sat, 3 Oct 2009 16:46:20 +0000 (16:46 +0000)]
unfuck max_stack once more. Still a bug lurking when a transient has foucs
and we switch ws back and forth.
Marco Peereboom [Fri, 2 Oct 2009 21:26:39 +0000 (21:26 +0000)]
new
Marco Peereboom [Fri, 2 Oct 2009 21:26:16 +0000 (21:26 +0000)]
point to the spanish man page
Marco Peereboom [Fri, 2 Oct 2009 21:23:12 +0000 (21:23 +0000)]
Add spanish man
Marco Peereboom [Fri, 2 Oct 2009 21:15:33 +0000 (21:15 +0000)]
missing -
Marco Peereboom [Fri, 2 Oct 2009 20:00:20 +0000 (20:00 +0000)]
Add +1 adfter a cyclescreen to give root_to_region a better chance of
working.
Marco Peereboom [Fri, 2 Oct 2009 19:59:48 +0000 (19:59 +0000)]
Document stack indicator in spanish
Marco Peereboom [Fri, 2 Oct 2009 19:53:12 +0000 (19:53 +0000)]
document stack_enabled
Marco Peereboom [Fri, 2 Oct 2009 19:50:05 +0000 (19:50 +0000)]
Add stacking indicator in the bar. Purdy :-)
Marco Peereboom [Fri, 2 Oct 2009 19:27:57 +0000 (19:27 +0000)]
Add missing -
Marco Peereboom [Fri, 2 Oct 2009 19:23:48 +0000 (19:23 +0000)]
Make makefiles work just like ports; this way we can just make install
over a pkg :-)
Marco Peereboom [Fri, 2 Oct 2009 18:57:38 +0000 (18:57 +0000)]
Fixes from gonzalo
Marco Peereboom [Fri, 2 Oct 2009 18:20:49 +0000 (18:20 +0000)]
When running a release distribute the spanish man file too.