Marco Peereboom [Fri, 24 Jun 2011 16:53:40 +0000 (16:53 +0000)]
bring back old tiling behavior where floating windows stay always on top.
Add key stroke to toggle this behavior per workspace and add it to the
layout entry in the configuration file.
While here add iconify and uniconify key bindings in config file.
Marco Peereboom [Thu, 23 Jun 2011 02:15:53 +0000 (02:15 +0000)]
Add autorun to launch apps in workspaces and INITIAL start time and not
at restart time. Currently it doesn't support arguments so you need a
wrapper script for complicated stuff.
sorry mcbride this can not be done using .xinitrc due to several
chickens and eggs that are in the wrong order.
Marco Peereboom [Tue, 14 Jun 2011 15:28:05 +0000 (15:28 +0000)]
Make drag to float work again.
In order to be able to click on windows after restarting the wm we have
to unmap windows. Not sure if this fix has a performance impact on
smaller machines. So let me know and I'll try to come up with a smaller
hammer.
Marco Peereboom [Mon, 13 Jun 2011 18:32:53 +0000 (18:32 +0000)]
kill SWM_L_FOCUSPREV because all focus action is now the same code path.
we need this to, for example, focus back on the browser that launched
mplayer.
Marco Peereboom [Fri, 10 Jun 2011 20:11:11 +0000 (20:11 +0000)]
work around windows that lie about their parent. try to find a window
on the window list that matches the group id. i am sure this needs to
more love as it mostly is a complete hack.
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: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.
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.
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
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 [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.