Marco Peereboom [Thu, 9 Jun 2011 21:15:29 +0000 (21:15 +0000)]
replace large enternotify hammer with pliers instead.
mcbride, you should revisit the synergy stuff now ;-)
Marco Peereboom [Thu, 9 Jun 2011 16:31:58 +0000 (16:31 +0000)]
hack to work around crap like xpdf that doesn't destroy transient
windows.
Marco Peereboom [Thu, 9 Jun 2011 14:03:56 +0000 (14:03 +0000)]
Don't abuse IconicState for unmapped windows.
Marco Peereboom [Wed, 8 Jun 2011 22:36:44 +0000 (22:36 +0000)]
when moving a transient also move the parent.
Marco Peereboom [Wed, 8 Jun 2011 22:30:30 +0000 (22:30 +0000)]
go through all kinds of gymnastics to do movement properly; even with
transients
Marco Peereboom [Wed, 8 Jun 2011 20:32:52 +0000 (20:32 +0000)]
grmbl debug
Marco Peereboom [Wed, 8 Jun 2011 20:32:03 +0000 (20:32 +0000)]
when moving windows grab the parent if transient. also keep transients
after the parent on the list
Marco Peereboom [Wed, 8 Jun 2011 19:27:25 +0000 (19:27 +0000)]
fix longstanding bug where fullscreen was off by one
Marco Peereboom [Wed, 8 Jun 2011 19:19:45 +0000 (19:19 +0000)]
don't next and prev into iconic windows.
Marco Peereboom [Wed, 8 Jun 2011 19:05:43 +0000 (19:05 +0000)]
mplayer fullscreens again
Marco Peereboom [Tue, 7 Jun 2011 20:56:29 +0000 (20:56 +0000)]
First stab at rewriting the focus code. Test now or forever hold your
piece. I found a few nits but the direction is better and we should have
a much easier time fixing those nits over time.
This also modifies how transients are handled as they now can be obscured
by other windows. Takes a little getting used to but again it makes more
sense then the old behavior.
Marco Peereboom [Mon, 6 Jun 2011 19:54:48 +0000 (19:54 +0000)]
add jason to copyright and update ryan's.
Marco Peereboom [Mon, 6 Jun 2011 19:52:03 +0000 (19:52 +0000)]
Add iconic notion as described in FS#82.
Code written by Jason L. Wright" <jason@thought.net>.
dmenu code written by me based on a diff from
Ryan McBride <mcbride@countersiege.com> to find windows.
Ryan McBride [Fri, 3 Jun 2011 22:51:54 +0000 (22:51 +0000)]
An ugly fix for the recent LD_PRELOAD bug.
ok marco
Marco Peereboom [Fri, 3 Jun 2011 22:33:03 +0000 (22:33 +0000)]
more configure request poop. *sigh* can't get gvim to pretty paint just
yet. Sprinkle some more border_width too;
Marco Peereboom [Fri, 3 Jun 2011 20:59:38 +0000 (20:59 +0000)]
kill debug
Marco Peereboom [Fri, 3 Jun 2011 20:55:02 +0000 (20:55 +0000)]
fix fullscreen on mplayer again and revert most of the xemacs quirk as it
has been fixed for real now
Marco Peereboom [Tue, 3 May 2011 16:46:52 +0000 (16:46 +0000)]
i- A new quirk to accommodate the idiosyncrasies of XEmacs (and maybe
other programs). When XEmacs causes a ConfigurationRequest to be
generated, it expects the ConfigureNotify response to contain matching
dimensions. If it doesn't get a matching response, it re-sends the
ConfigureRequest forever.
- Don't send ConfigureRequest events to applications using this new
quirk because, at least for XEmacs, they prevent the window contents
from filling the window frame. I also put some comments in the
"configreq_win" function questioning whether it's actually needed. I
think it may be superfluous, given that it's always called right after a
call to "XConfigureWindow". But this assertion is based on my limited
testing and should be reviewed by an actual X protocol expert.
- Apply the existing "floating" quirk to the XEmacs Ediff window, so
that it acts like a dialog box.
- In the "propertynotify" function, call "bar_update" for the XA_WM_NAME
property. This helps for things like shells that update the XTerm title
to reflect the user's current directory.
Some of this may sound familiar. I sent a similar patch a long time ago,
but you wanted some revisions. Two years on, here they are. So much for
quick turnaround.
from Chuck Musser <cmusser@sonic.net>
Marco Peereboom [Sat, 9 Apr 2011 03:26:41 +0000 (03:26 +0000)]
The arch linux folks want this so that they can add scrotwm to the
official repos.
from keenerd <keenerd@gmail.com>
Marco Peereboom [Fri, 11 Mar 2011 21:34:19 +0000 (21:34 +0000)]
add border width for bar too
from Splex <splecks@rejii.com>
Marco Peereboom [Fri, 11 Mar 2011 15:11:45 +0000 (15:11 +0000)]
Add manual page stuff for border_width form Splex <splecks@rejii.com>
Marco Peereboom [Fri, 11 Mar 2011 14:12:49 +0000 (14:12 +0000)]
add border_width from Splex <splecks@rejii.com>
Marco Peereboom [Tue, 18 Jan 2011 20:52:17 +0000 (20:52 +0000)]
typo
from LEVAI Daniel <leva@ecentrum.hu>
Marco Peereboom [Tue, 18 Jan 2011 19:43:12 +0000 (19:43 +0000)]
Merge diff from FS#24 to show window title in status bar
from Dimitri Sokolyuk demon@dim13.org
Marco Peereboom [Tue, 18 Jan 2011 19:25:58 +0000 (19:25 +0000)]
don't crash when apps do weird things (i am talking to you thunderbird).
doesn't fix the underlying issues though but at least it can be worked
around by either switching workspaces or kill -1 scrotwm
Marco Peereboom [Tue, 18 Jan 2011 19:18:31 +0000 (19:18 +0000)]
fix crash as described in FS#37
Ryan McBride [Fri, 12 Nov 2010 01:35:01 +0000 (01:35 +0000)]
Instead of dying when a manually defined region is outside of screen
boundaries, just ignore the region. Lets you at least log in and run
xrandr to fix the screen, then M-q to apply the manual region.
Marco Peereboom [Tue, 19 Oct 2010 17:38:25 +0000 (17:38 +0000)]
bring the diff port back in line with reality
Marco Peereboom [Tue, 19 Oct 2010 17:37:56 +0000 (17:37 +0000)]
focus on root just in case there is nothing else to focus on. seems to
fix the gimp issues where you end up with no keyboard action.
Marco Peereboom [Thu, 14 Oct 2010 17:40:52 +0000 (17:40 +0000)]
Fix keyboard not getting focus after quitting gimp.
from Henri Kemppainen <duclare@guu.fi>
Marco Peereboom [Thu, 16 Sep 2010 02:42:21 +0000 (02:42 +0000)]
update resources
Marco Peereboom [Thu, 16 Sep 2010 02:26:45 +0000 (02:26 +0000)]
Hi,
here's the patch for EWMH support for scrotwm. Again, I'm really sorry
that it took this long. The patch is against the latest CVS version. Also,
the code should adhere to style(9) this time.
Like I promised, the patch implements (at least) the following:
- autoquirking using the _NET_WM_WINDOW_TYPE property (already present in
the previous patch)
- the _NET_ACTIVE_WINDOW property should work properly now
- fullscreen windows using the _NET_WM_STATE_FULLSCREEN property
- floaters remember floating state and position when restarting scrotwm
- implemented _NET_WM_STATE and _NET_WM_ALLOWED_ACTIONS.
There's one thing though. _NET_WM_ALLOWED_ACTIONS still allows only
floaters to be resized. This is because I couldn't think of a way to
implement the "resize the stack" in way that isn't surprinsing. For
example, when we have more than two columns (master and 1 other) in the
layout, I can't think of good way to react to a request for resizing a
window in the middle columns. I can implement it, but I need you to tell
me exactly how you want it to behave. :)
Do tell me if you find any bugs in the patch. All other feedback is
appreciated as well.
- Tuukka
From: Tuukka Kataja <stuge@xor.fi>
Thanks and some cleanup by me.
Marco Peereboom [Thu, 16 Sep 2010 02:06:05 +0000 (02:06 +0000)]
update espanhol
Marco Peereboom [Thu, 16 Sep 2010 02:00:51 +0000 (02:00 +0000)]
Add portugese from Alicornio <alicornio@ig.com.br>
Update engrish man page while at it.
Marco Peereboom [Thu, 16 Sep 2010 01:16:16 +0000 (01:16 +0000)]
Make russian man page work again. From naddy.
Marco Peereboom [Tue, 31 Aug 2010 12:43:22 +0000 (12:43 +0000)]
Roll version for release
Marco Peereboom [Tue, 31 Aug 2010 12:17:00 +0000 (12:17 +0000)]
Note new community resource locations
Marco Peereboom [Wed, 11 Aug 2010 03:15:40 +0000 (03:15 +0000)]
seamonkey creates all kinds of nice transients that it then yanks from
underneath us. validate the transient window before focussing on it.
found the hard way by jy-p
Marco Peereboom [Thu, 15 Jul 2010 14:05:16 +0000 (14:05 +0000)]
knf
Marco Peereboom [Thu, 15 Jul 2010 14:03:04 +0000 (14:03 +0000)]
Add option to put the bar at the bottom of the regions
Marco Peereboom [Thu, 15 Jul 2010 13:58:25 +0000 (13:58 +0000)]
rework how spawning processes works. this prevents programs that flush to
stderr splode
Marco Peereboom [Tue, 13 Jul 2010 04:13:50 +0000 (04:13 +0000)]
Add new stuff
Marco Peereboom [Tue, 13 Jul 2010 04:05:06 +0000 (04:05 +0000)]
more copyright dates
Marco Peereboom [Tue, 13 Jul 2010 04:03:54 +0000 (04:03 +0000)]
update copyright
Marco Peereboom [Wed, 7 Jul 2010 15:40:29 +0000 (15:40 +0000)]
Move outputs++ to new_region. Makes more sense and it make shit like
NVIDIA work.
Add some () around ?: for correctnes sake.
From the arch linux community
Marco Peereboom [Wed, 7 Jul 2010 12:52:42 +0000 (12:52 +0000)]
Don't leak font memory when setting up the bar a subsequent time
Marco Peereboom [Mon, 5 Jul 2010 21:55:38 +0000 (21:55 +0000)]
rewrite signal handler
Marco Peereboom [Sat, 3 Jul 2010 22:45:32 +0000 (22:45 +0000)]
Describe HUP
Marco Peereboom [Sat, 3 Jul 2010 22:41:34 +0000 (22:41 +0000)]
Make HUP actually restart the wm. Comes in handy when you hang it;
what's bad is that I know how to do it...
Marco Peereboom [Thu, 1 Jul 2010 23:44:16 +0000 (23:44 +0000)]
Bring border behavior back to normal default. Use knob when a knob...
Marco Peereboom [Thu, 1 Jul 2010 21:13:02 +0000 (21:13 +0000)]
Go borderless when bar is disabled and there is only 1 window on screen
from the arch linux folks
Marco Peereboom [Thu, 1 Jul 2010 21:06:18 +0000 (21:06 +0000)]
Fix a buglet in the region code that prevented switching workspaces.
Only print class/name on the right screen.
From: pbob <pbob@pbob.org>
Marco Peereboom [Thu, 1 Jul 2010 20:58:00 +0000 (20:58 +0000)]
Add some memory to floaters.
diff from cpresearch@gmx.de
Marco Peereboom [Thu, 1 Jul 2010 19:49:37 +0000 (19:49 +0000)]
Fix some spaces
Marco Peereboom [Thu, 1 Jul 2010 19:49:21 +0000 (19:49 +0000)]
Add a default cursor.
Marco Peereboom [Thu, 1 Jul 2010 19:01:15 +0000 (19:01 +0000)]
Add prior workspace
from
keenerd <keenerd@gmail.com>
Marco Peereboom [Thu, 1 Jul 2010 02:01:04 +0000 (02:01 +0000)]
Make open office 3.2 purdy again
Marco Peereboom [Wed, 30 Jun 2010 00:09:19 +0000 (00:09 +0000)]
Add insane follow-mouse-sometimes feature for bob beck
Marco Peereboom [Tue, 20 Apr 2010 19:27:36 +0000 (19:27 +0000)]
roll version
Marco Peereboom [Tue, 20 Apr 2010 19:08:06 +0000 (19:08 +0000)]
unmap windows after stacking. much better performance!
Marco Peereboom [Sun, 17 Jan 2010 16:54:12 +0000 (16:54 +0000)]
Clarify osx 10.5 build process.
Marco Peereboom [Sun, 17 Jan 2010 16:49:49 +0000 (16:49 +0000)]
Add commented line for OSX 10.5
Darrin Chandler [Wed, 13 Jan 2010 23:22:31 +0000 (23:22 +0000)]
Move declaration close to use
Darrin Chandler [Wed, 13 Jan 2010 22:17:03 +0000 (22:17 +0000)]
Add CPU speed to baraction.sh
Diff from Joe Gidi <joe@entropicblur.com>
Darrin Chandler [Wed, 13 Jan 2010 21:48:35 +0000 (21:48 +0000)]
Implement clock_format for user definable time string.
Slight mods to diff from Aragon Gouveia <aragon@phat.za.net>
"go go go" marco
Marco Peereboom [Mon, 11 Jan 2010 22:56:22 +0000 (22:56 +0000)]
Add -bundle, from Erik Mugele <ejm@teuton.org>
Marco Peereboom [Mon, 11 Jan 2010 22:47:12 +0000 (22:47 +0000)]
Link Windows/cygwin
Marco Peereboom [Mon, 11 Jan 2010 22:44:26 +0000 (22:44 +0000)]
Add cygwin.
Add tag to osx
Marco Peereboom [Mon, 11 Jan 2010 21:01:24 +0000 (21:01 +0000)]
Roll to new version for cygwin.
Oops on the ports file
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.