Commit graph

501 commits

Author SHA1 Message Date
Marco Peereboom
27eedb2351 Update authors 2011-06-28 12:41:07 +00:00
Marco Peereboom
48c0f7f55a Add comment and link to man page. Turns out a lot of people don't know
there is one.  I guess we can thank the Linux howto mentality for that...
2011-06-28 12:28:47 +00:00
Marco Peereboom
bbbb9f12ac add more verbiage to layout 2011-06-24 17:01:43 +00:00
Marco Peereboom
cbd90e50cd 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.

requested by many.
2011-06-24 16:53:40 +00:00
Marco Peereboom
014589e605 Make layout fancier by adding master_grow, master_shrink, master_add,
master_del, stack_inc and stack_del to the format string.
2011-06-23 18:56:39 +00:00
Marco Peereboom
2a8d7bafe3 add initial stack mode at start-of-day. this really could use some
percentage value to size the master area.
2011-06-23 17:52:39 +00:00
Marco Peereboom
86d17a1038 remove args constraint and add an example of args in conf file 2011-06-23 16:34:00 +00:00
Marco Peereboom
c2adf746f6 add arguments to autorun, from akfaew@jasminek.net 2011-06-23 16:31:54 +00:00
Marco Peereboom
f5c5fd74a8 work around apps that dont set _NET_WM_PID and roll new version number 2011-06-23 12:13:19 +00:00
Marco Peereboom
948314b98e fix crash on apps that dont play nice with NET_WM_PID. 2011-06-23 11:37:16 +00:00
Marco Peereboom
5f8a010ab2 bump version 2011-06-23 03:05:19 +00:00
Marco Peereboom
8cc48b14f9 add scrotwm.desktop 2011-06-23 03:05:04 +00:00
Marco Peereboom
d4b314be4c document autorun 2011-06-23 02:22:18 +00:00
Marco Peereboom
e5d2c4266c 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.

This is FS#1
2011-06-23 02:15:53 +00:00
Marco Peereboom
871b3ea10a argh delete some stupid debug poop 2011-06-22 18:41:27 +00:00
Marco Peereboom
7b5a1d5df3 realloc cleanup from akfaew@jasminek.net
tsk tsk dwc
2011-06-22 17:53:25 +00:00
Marco Peereboom
2a94bb496c oops! stackinit called too many times due to stray ;
found by Niclas Zeising <niclas.zeising@gmail.com>
2011-06-22 15:31:27 +00:00
Marco Peereboom
e126add24b this should fix a crash seen on linux as reported here:
http://opensource.conformal.com/fluxbb/viewtopic.php?id=120
2011-06-16 13:53:43 +00:00
Marco Peereboom
bfd9ab4a8f make osx compile again. 2011-06-15 00:49:07 +00:00
Ryan McBride
675f2603fd Whitespace and line wrapping. 2011-06-14 22:20:55 +00:00
Marco Peereboom
e466d899cf add FOCUSPREV quirk and document it. 2011-06-14 15:47:57 +00:00
Marco Peereboom
2ea05e5734 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.
2011-06-14 15:28:05 +00:00
Marco Peereboom
aff4537ab8 prevent double red bordering 2011-06-13 21:51:47 +00:00
Marco Peereboom
1ce688db7d undo previous diff and create a quirk instead. the previous change was
worthless.
2011-06-13 20:28:04 +00:00
Marco Peereboom
ccf8f495c4 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.
2011-06-13 18:32:53 +00:00
Marco Peereboom
7263e226b8 eat some more enter notifies 2011-06-10 20:58:47 +00:00
Marco Peereboom
68bba3e25e 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.
2011-06-10 20:11:11 +00:00
Marco Peereboom
13e7d054a1 oops committed something i shouldnt have 2011-06-09 21:28:29 +00:00
Marco Peereboom
8418aeaea3 quirk the vlc video window to behave like mplayer 2011-06-09 21:26:38 +00:00
Marco Peereboom
bd31f84c17 replace large enternotify hammer with pliers instead.
mcbride, you should revisit the synergy stuff now ;-)
2011-06-09 21:15:29 +00:00
Marco Peereboom
af851bfc41 hack to work around crap like xpdf that doesn't destroy transient
windows.
2011-06-09 16:31:58 +00:00
Marco Peereboom
8c1136de23 Don't abuse IconicState for unmapped windows. 2011-06-09 14:03:56 +00:00
Marco Peereboom
df2352b39d when moving a transient also move the parent. 2011-06-08 22:36:44 +00:00
Marco Peereboom
698b4e7f49 go through all kinds of gymnastics to do movement properly; even with
transients
2011-06-08 22:30:30 +00:00
Marco Peereboom
10594845c4 grmbl debug 2011-06-08 20:32:52 +00:00
Marco Peereboom
0219544e45 when moving windows grab the parent if transient. also keep transients
after the parent on the list
2011-06-08 20:32:03 +00:00
Marco Peereboom
339122673e fix longstanding bug where fullscreen was off by one 2011-06-08 19:27:25 +00:00
Marco Peereboom
3dcbf30545 don't next and prev into iconic windows. 2011-06-08 19:19:45 +00:00
Marco Peereboom
399951d768 mplayer fullscreens again 2011-06-08 19:05:43 +00:00
Marco Peereboom
1140a71c42 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.
2011-06-07 20:56:29 +00:00
Marco Peereboom
3403d0e9a9 add jason to copyright and update ryan's. 2011-06-06 19:54:48 +00:00
Marco Peereboom
c64a9f1320 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.
2011-06-06 19:52:03 +00:00
Ryan McBride
8d74b4359e An ugly fix for the recent LD_PRELOAD bug.
ok marco
2011-06-03 22:51:54 +00:00
Marco Peereboom
62b66b5345 more configure request poop. *sigh* can't get gvim to pretty paint just
yet.  Sprinkle some more border_width too;
2011-06-03 22:33:03 +00:00
Marco Peereboom
40d26f037a kill debug 2011-06-03 20:59:38 +00:00
Marco Peereboom
7d15584af6 fix fullscreen on mplayer again and revert most of the xemacs quirk as it
has been fixed for real now
2011-06-03 20:55:02 +00:00
Marco Peereboom
5140afe339 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>
2011-05-03 16:46:52 +00:00
Marco Peereboom
f9a4023081 The arch linux folks want this so that they can add scrotwm to the
official repos.

from keenerd <keenerd@gmail.com>
2011-04-09 03:26:41 +00:00
Marco Peereboom
8027864cf5 add border width for bar too
from Splex <splecks@rejii.com>
2011-03-11 21:34:19 +00:00
Marco Peereboom
a88294aee6 Add manual page stuff for border_width form Splex <splecks@rejii.com> 2011-03-11 15:11:45 +00:00