Commit graph

371 commits

Author SHA1 Message Date
Marco Peereboom
ec9086aab1 Make time localized too.
Closes FS#71
From: valere monseur (dobedo)
2011-11-28 09:50:50 -06:00
marco
82e158a61f Merge branch 'master' of ssh://opensource.conformal.com/git/scrotwm 2011-11-17 19:55:41 -06:00
marco
c9b0bc3c9d Make stack_enable work again.
From: Tiago Cunha <tcunha@gmx.com>
2011-11-17 19:55:05 -06:00
Lawrence Teo
60d2953634 fix an fd leak
ok marco
2011-11-17 19:05:31 -05:00
Lawrence Teo
befcf15917 new release script and versioning scheme for scrotwm
(adapted from xxxterm)

ok marco
2011-10-26 00:57:00 -04:00
Lawrence Teo
9c3aa396f4 new keyboard_mapping option to load pre-defined key bindings for
different keyboard layouts

ok marco
2011-10-25 22:42:57 -04:00
Marco Peereboom
8eb6cfee63 kill cvs tags 2011-10-25 15:54:39 -05:00
Marco Peereboom
163f135835 Merge branch 'master' of opensource.conformal.com:/git/scrotwm 2011-10-25 15:20:18 -05:00
Marco Peereboom
7d90b3de69 clang warning and remove port stuff 2011-10-25 15:19:02 -05:00
Lawrence Teo
56fb67f0d0 fix NULL pointer dereferences and implement some additional safeguards
ok marco
2011-10-19 21:50:02 -04:00
Marco Peereboom
f31159407e Revert "fix weird french keyboards"
This reverts commit 64075b7af1.

This causes crashes on spanish keyboards.
3364            if (!(win->transient != 0 || win->floating != 0))
(gdb) bt
) at scrotwm.c:6370
(gdb)

The real issue is in keypress though.
if ((keysym == keys[i].keysym || skeysym == keys[i].keysym)
evaluates to true when it shouldn't.
2011-10-06 11:30:45 -05:00
Marco Peereboom
64075b7af1 fix weird french keyboards
At least I was told this works.  Doesn't break my stuff so all is good
:-)

From: Jonathan Armani <dbd@asystant.net>
Via: Lawrence Teo <lteo@devio.us>
2011-10-03 17:10:48 -05:00
Marco Peereboom
15add7f7c0 move and resize floating windows with keyboard
This allows for an almost completely mouse-free operation of scrotwm,
which is especially useful on systems with crappy mice.

From: Lawrence Teo <lteo@devio.us>
2011-10-03 16:39:12 -05:00
marco
3c33883d02 more clang warnings that are usesul 2011-09-19 23:18:24 -05:00
marco
7207fd01c3 shut clang up and some white spaces 2011-09-19 21:56:45 -05:00
Marco Peereboom
f27b3e7749 bump version 2011-08-13 20:26:02 +00:00
Marco Peereboom
d1c7dc33a6 make urgent printf a lot more sane 2011-08-10 03:03:07 +00:00
Marco Peereboom
77f803db69 stray debug 2011-08-08 22:45:14 +00:00
Marco Peereboom
5d36a5c683 Add a fake mouse button 2 press for mouse starved machines and xterm
convenience.  So now one can paste using M-v.
2011-08-08 22:41:51 +00:00
Marco Peereboom
8d322b0d37 Add urgency hint based on a diff from:
Wido Snikkers <wsnikkers@pcextreme.nl>

Note that for this to work one must enable it in apps, xterm etc

Requested by many.
2011-08-06 18:21:00 +00:00
Marco Peereboom
11e1170f04 bump version 2011-08-02 13:22:34 +00:00
Marco Peereboom
dd4354b774 add a new stack layout status thing to print the number of panes in the
master and slave areas.

From: keenerd <keenerd@gmail.com>
2011-07-19 21:28:15 +00:00
Marco Peereboom
6c7fab8bc6 add Tuukka Kataja <stuge@xor.fi> to copyrights 2011-07-18 16:09: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
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
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
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
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