Commit Graph

1581 Commits

Author SHA1 Message Date
Kris Maglione
f7567601a7 Fix some Xinerama bugs 2008-10-14 18:09:47 -04:00
Kris Maglione
318f180173 [menu] Add proper caret support 2008-10-14 16:57:48 -04:00
Kris Maglione
5db3cf60bd More work on Xinerama 2008-10-14 04:54:35 -04:00
Kris Maglione
5bcd1393b8 Draw the bar for each Xinerama screen 2008-10-14 02:55:29 -04:00
Kris Maglione
18a9e0c421 Fix floating window constraints for Xinerama 2008-10-14 02:13:28 -04:00
Kris Maglione
b2d98ca9b2 Add command history to rc.wmii 2008-10-14 00:17:01 -04:00
Kris Maglione
9e4195e708 [menu] General improvements 2008-10-14 00:02:30 -04:00
Kris Maglione
cd233229cf Fix Xinerama memory leak 2008-10-13 23:39:20 -04:00
Kris Maglione
164a2a033c [menu] Save the original input string when traversing history. 2008-10-13 23:15:45 -04:00
Kris Maglione
f342a0ca4d [menu] Place bar on top if wmii does so 2008-10-13 23:10:20 -04:00
Kris Maglione
f5a1c0aefd [menu] Place bar on top if wmii does so 2008-10-13 23:06:43 -04:00
Kris Maglione
7860d65c33 Switch logical text extents for textwidth() 2008-10-13 22:54:14 -04:00
Kris Maglione
89f0ba2016 Some more work towards Xinerama support. This is *not* yet stable. 2008-10-13 22:25:05 -04:00
Kris Maglione
2560525d20 Add wimenu 2008-10-13 21:38:03 -04:00
Kris Maglione
7cbe734db9 Update xext.c (wmii will be broken until I commit more multihead changes) 2008-10-13 21:37:01 -04:00
Kris Maglione
e8741feda4 More xinerama stuff 2008-10-11 22:09:21 -04:00
Kris Maglione
b0fc54d6fa Beginings of Xinerama support 2008-10-11 20:31:06 -04:00
Kris Maglione
812f07a6a1 Better, cleaner error handling. 2008-10-11 19:05:24 -04:00
Kris Maglione
f4f492efd8 Fix input hint, among other things. 2008-09-29 11:10:54 -04:00
Kris Maglione
e99f8a8a58 Fix some bugs related to windows which automagically float, and subsequent actions. 2008-09-15 19:30:47 -04:00
Kris Maglione
81d63271d1 A bunch of minor changes. 2008-09-07 23:09:25 -04:00
Kris Maglione
5d69ff8dd8 Best just read the diff. 2008-08-25 12:47:56 -04:00
Kris Maglione
fc5e60f952 Remove spurious %r from fatal() call in wmiir. 2008-06-02 22:31:59 -04:00
Kris Maglione
d9cbac523a Fix mouse focus bugs. 2008-06-02 22:31:04 -04:00
Kris Maglione
512e0d43bb Allow setting of increment display from /ctl. Fix CONFVERSION. 2008-06-02 11:58:27 -04:00
Kris Maglione
d82f5b113a Fix some rc bugs, update wmiirc. 2008-06-02 11:52:29 -04:00
Kris Maglione
8a01b0b63e Allow max mode with or without stack mode (this will change). Fix a crash with minimum-sized clients in columns. 2008-06-01 11:28:37 -04:00
Kris Maglione
db1824bb40 Fix issue #39. 2008-05-31 18:28:56 -04:00
Kris Maglione
ed35849394 Fix some bar on top bugs. Lots of small cleanup. 2008-05-31 15:58:04 -04:00
Kris Maglione
938b128ef5 Don't write extra NUL on xwrite. 2008-05-31 12:00:39 -04:00
Kris Maglione
a1e41d15c1 Minur cleanup. 2008-05-30 20:04:02 -04:00
Kris Maglione
29825ad4c6 Show a client's extra tags in its titlebar. 2008-05-30 11:48:43 -04:00
Kris Maglione
2c8f3c1e0c Fix issue #48. 2008-05-29 17:28:27 -04:00
Kris Maglione
f55337ef2b Sorry, I lost track. See diff. 2008-05-29 17:22:56 -04:00
Kris Maglione
d951419167 Fix focus bugs. Darken background when floating area selected. Make printevent custom formatter. 2008-05-27 18:34:59 -04:00
Kris Maglione
a01c4f7b6a Some hacky changes to select up/down for collapsed frames. See rc.wmii for new bindings. 2008-05-25 21:53:14 -04:00
Kris Maglione
890ecbce86 Set bit gravity on frames to make in-column resizals cleaner. 2008-05-25 13:58:06 -04:00
Kris Maglione
c35dbc2636 Improve mouse resizing. 2008-05-25 10:51:34 -04:00
Kris Maglione
68f249f726 Fix stupid grow/nudge mistake. (and change an assert to a warning) 2008-05-24 21:12:53 -04:00
Kris Maglione
918fa1cf9d Eliminate some round trips. Some rather ugly cleanup. 2008-05-24 20:32:01 -04:00
Kris Maglione
962d2784f0 See diff. 2008-05-23 19:51:56 -04:00
Kris Maglione
054a356d00 Some resizing stuff. See diff. 2008-05-23 17:28:45 -04:00
Kris Maglione
9e0ac2f4fb Fix grow and nudge in columns. 2008-05-23 13:57:24 -04:00
Kris Maglione
236f54e69c Don't leak memory. It's not nice. 2008-05-23 13:16:07 -04:00
Kris Maglione
6eb994bc01 Fix some rather obscene code in layout.c. 2008-05-23 13:13:57 -04:00
Kris Maglione
a76ebd191a See diff. 2008-05-23 11:32:01 -04:00
Kris Maglione
33b0d89da3 Squeeze increment gaps, again. 2008-05-23 10:37:36 -04:00
Kris Maglione
00701a72b8 Better respect minw on column_resizeframe; fix a possible crash with grow command. 2008-05-21 19:32:25 -04:00
Kris Maglione
9f87971cc1 Adjust column scaling. 2008-05-21 18:24:45 -04:00
Kris Maglione
40abae9c30 Allow bar on top or bottom. Cleanup. 2008-05-21 13:15:13 -04:00
Kris Maglione
0928b860bf Fix resizing issue, focus issue. Minor cleanup. 2008-05-21 12:21:56 -04:00
Kris Maglione
4ec3dc80e6 Allow for wmiirc_local 2008-05-19 19:26:43 -04:00
Kris Maglione
ed9fb216e6 Fix column scaling corner case. 2008-05-18 14:36:46 -04:00
Kris Maglione
83253bcc5f Clean up some window border adjustments. Fix $(VERSION) for older versions of hg. 2008-05-18 13:52:03 -04:00
Kris Maglione
85c2e1b096 Fix tickets #2, #10, #15, #16 (dup of #10). 2008-05-18 13:31:58 -04:00
Kris Maglione
cb7c8e9ccf Resize to at least the minimum increment on 'grow'. 2008-04-06 12:03:35 -04:00
Kris Maglione
156f1828f6 Add grow and nudge commands to /tag/*/ctl. 2008-04-05 17:04:00 -04:00
Kris Maglione
8a2782bba3 Cascade windows when the floating layer fills, rather than placing them randomly. 2008-04-05 14:36:17 -04:00
Kris Maglione
cbfa4688a4 Fix issue #1. 2008-04-05 14:24:07 -04:00
Kris Maglione
4c91c14f75 Fix issue #7. 2008-04-03 20:52:36 -04:00
Kris Maglione
7b84669efb Fix M-S-t in rc.wmii. Fix issue #6. 2008-04-01 19:26:46 -04:00
Kris Maglione
a56311392c Small fix in strut calculations. 2008-03-22 14:56:38 -04:00
Kris Maglione
ef260ab604 Ignore border with in wistrut calculations. 2008-03-22 14:49:45 -04:00
Kris Maglione
c017512c11 Fix tagging bug. 2008-03-22 13:21:29 -04:00
Kris Maglione
a95494a9f7 Add wistrut. Undocumented, not built by default. 2008-03-21 13:41:30 -04:00
Kris Maglione
86059e16d2 Support WM_TAKE_FOCUS. 2008-03-20 15:35:59 -04:00
Kris Maglione
ff76a21c49 Fix ticket #16. 2008-03-12 19:29:13 -04:00
Kris Maglione
37146f5b85 Fix ticket #13. 2008-03-08 12:14:09 -05:00
Kris Maglione
b8b1559278 Fix swap bug. Ticket #9. 2008-02-28 17:37:14 -05:00
Kris Maglione
72972121b0 Fix wmii_hack bug. Fix urgency bug when closing urgent client. 2008-02-28 17:31:32 -05:00
Kris Maglione
27858a3917 Unbreak build. 2008-02-17 13:53:56 -05:00
Kris Maglione
6b88abeaac Support alpha-transparant windows. May not last. 2008-02-16 20:12:59 -05:00
Kris Maglione
756230ee93 Fix bug causing random frames to float when toggling between managed/floating layer. 2008-02-09 14:49:35 -05:00
Kris Maglione
443c6cbe66 Fix column scaling a bit. 2008-02-09 13:23:27 -05:00
Kris Maglione
5bb7a777a8 Merge. 2008-02-08 21:39:25 -05:00
Kris Maglione
63ed891ed0 Fix restacking bug. 2008-02-08 21:38:39 -05:00
Kris Maglione
b0941bfc9c Fix stupid window sizing bug. (Also, make build work with gmake -j (no such problem with BSD make)). 2008-02-08 18:17:08 -05:00
Kris Maglione
c14944c2b4 Fix some bugs. 2008-02-04 18:33:57 -05:00
Kris Maglione
9f87cf8cc5 Fix iconv bug. 2008-02-04 18:19:40 -05:00
Kris Maglione
870c340225 Try a bit harder to get the right tags in wmii_hack. Use time in seconds to prevent wraparound; check the tags of the last window. 2008-02-03 19:10:13 -05:00
Kris Maglione
d8831b84fc Don't make a window fullscreen based on size if it sets an EWMH type. 2008-02-03 17:45:28 -05:00
Kris Maglione
907a245f5f Go back to closeexec. This was my fault, not xcb's. 2008-02-03 17:14:41 -05:00
Kris Maglione
6563332c9f s/F_SETFL/F_SETFD/. Fix old instances of wmiir hanging around. 2008-02-03 16:57:36 -05:00
Kris Maglione
4181367d68 Allow 'send <client> ~' 2008-02-03 15:17:08 -05:00
Kris Maglione
cfeed07dc4 Cleanup. 2008-02-03 15:06:26 -05:00
Kris Maglione
79d7dd25a8 Take rotation into account on RandR screen change notify. 2008-02-03 15:06:21 -05:00
Kris Maglione
e30b35b530 Reallocate the screen buffer on RandR resize. 2008-02-01 22:11:06 -05:00
Kris Maglione
19d8c7123d libx11-xcb is crap. Don't OCEXEC the X11 socket. 2008-01-31 19:56:49 -05:00
Kris Maglione
e9d2f3286b Fix some warnings on 64 bit systems with fr*king gcc-4. 2008-01-31 16:32:24 -05:00
Kris Maglione
0aa7f3b4fe Hopefully fix 9P proto bug reported by Suraj. 2008-01-30 21:23:07 -05:00
Kris Maglione
adb3d044d4 Fix some swapping bugs reported by Suraj. 2008-01-30 14:41:05 -05:00
Kris Maglione
9b76a0aee0 Fix some bugs (fancy debugging code vindicated). Add some comments. Shut up ken. 2008-01-28 17:58:23 -05:00
Kris Maglione
19603410f8 Better rc.wmii menus. Some pseudo-BNF comments for message.c. 2008-01-27 16:08:25 -05:00
Kris Maglione
e820f41949 Cleanup frame sizing and fix some long-standing bugs with borderless/titleless clients. 2008-01-26 21:13:42 -05:00
Kris Maglione
079473c859 Fixed bugs in .so build, wmiistartrc. Thanks to Alexis Hildebrandt. 2008-01-26 10:03:06 -05:00
Kris Maglione
0deae5eaff Send orphaned clients to the "orphans" tag. 2008-01-25 14:57:13 -05:00
Kris Maglione
fac54ad57d +/regex/ to add matching tags, -/regex/ to remove them. Higher level list processing. 2008-01-25 14:38:19 -05:00
Kris Maglione
2d023f073c Add experimental regex tag support. 2008-01-24 22:55:45 -05:00
Kris Maglione
504e36ae5f Fix (Left|Right)Bar.* events. They tended to prefer left. 2008-01-24 20:03:44 -05:00
Kris Maglione
daf0495a9c Enable tagrules for grouped clients. 2008-01-24 19:50:54 -05:00
Kris Maglione
6b42d0176e Better still revert handling. 2008-01-23 22:31:22 -05:00
Kris Maglione
46948c279d Experimental code to float/unfloat with the mouse. Fix (hopefully) .so build on Darwin. 2008-01-23 21:45:30 -05:00
Kris Maglione
cc6103ca99 Ameliorate the mouse.c rat's nest. 2008-01-23 00:13:33 -05:00
Kris Maglione
ba3b4bd5a2 Better revert handling. Still far from perfect. 2008-01-22 21:21:59 -05:00
Kris Maglione
3f38f6433c Fix some bugs. Add support for struts (think pagers, docks, panels...). /debug/* files for my convenience. 2008-01-22 17:55:53 -05:00
Kris Maglione
916c1cf0b8 Shortcircuit frame_resize for fullscreen clients. 2008-01-21 23:25:30 -05:00
Kris Maglione
1f72d945d8 Fix a fullscreen bug. Add setsid command to wmiir. 2008-01-21 23:21:37 -05:00
Kris Maglione
c2e18957f9 Sync wmiirc with rc.wmii. 2008-01-21 18:22:42 -05:00
Kris Maglione
2999577155 Cleanup drag&drop, bar.c. 2008-01-21 17:28:23 -05:00
Kris Maglione
7b1c1664f9 Bug fixes. 2008-01-21 16:18:17 -05:00
Kris Maglione
9d5f2c8014 Fix crash on systems with pedantic mallocs (needed another * in malloc. Thank you valgrind). 2008-01-21 02:35:11 -05:00
Kris Maglione
6adf15ff8e Make the bar Xdnd aware (so you can DND between views). Fixed some window raising/moving bugs. 2008-01-21 01:21:37 -05:00
Kris Maglione
ed397a40d1 Fixed warnings/errors on linux. 2008-01-20 19:10:40 -05:00
Kris Maglione
4ebbc14e24 Uncollapse clients when setting them fullscreen. 2008-01-20 18:29:04 -05:00
Kris Maglione
8ba6c84f1c Several changes:
Filter comments out of ctl files.
	Update util/genconfig.
	Add a notification bar (I've had one for some time).
	Make wmiirc more like rc.wmii.
2008-01-20 18:00:21 -05:00
Kris Maglione
717e770e72 Hg sucks at merging. 2008-01-19 22:47:05 -05:00
Kris Maglione
3ee60cd19c Merge 2008-01-19 22:30:37 -05:00
Kris Maglione
6082865393 Fixed most of the brokenness of managed grabbox moves. 2008-01-19 22:21:47 -05:00
Kris Maglione
dda04adc39 Forgot to add div.c, float.c, xext.c. 2008-01-19 20:29:58 -05:00
Kris Maglione
404af622cc Add XRandR support. 2008-01-19 20:05:10 -05:00
Kris Maglione
6127f9e6a5 Check f->area->floating rather than f->client->floating when drawing its frame. 2008-01-19 18:23:52 -05:00
Kris Maglione
cb38795511 Several changes:
Much better fullscreen support.
	Better revert support.
	More correct window group support (but... with ICCCM, correct is not possible...)
	"nil" tag is even less special (Important: remove last tagrule.)
	Allow comments (#.*\n) in rules files.
	Color scheme.
	Replaced mind-numbing float placement algorithm.
	Cleanup/prep.
2008-01-19 18:05:50 -05:00
Kris Maglione
967912b82b Merge. 2008-01-18 15:57:54 -05:00
Kris Maglione
f6c2a49d34 Pre-merge mess. 2008-01-18 15:05:45 -05:00
Kris Maglione
37d553300f Significant changes:
Improved focus semantics.
	/client/*/ctl slay command.
	Find unresponsive clients on kill.
	Draw titlebars of floating clients differently.
	Hack to set window properties of programs:
		wihack command/libwmii_hack.so library.
	Added wmii.rc, on which rc.wmii now depends.
	The usual cleanup.
2008-01-17 17:50:35 -05:00
Kris Maglione
ba8e24be1e Account for window groups. Better focus semantics. Check size against iounit on dir reads. Misc. changes. 2008-01-16 01:01:04 -05:00
Kris Maglione
aef6e4c22e Significant changes:
EWMH support
	Improvements to fullscreen mode
	Improvements in focus, especially in no-input windows
	Cleaner rc.wmii, with wmii.rc include
	Filter out gcc error/warning dups
2008-01-14 15:42:21 -05:00
sqweek
e44c0627aa Use nl_langinfo(3) instead of the unportable "" to specify the default character set for iconv_open(3). Thanks to Alex Plotnick for the patch. 2007-12-27 23:29:49 +09:00
sqweek
97dfe7839c Switch from RevertToParent to RevertToPointerRoot to fix focus issues with multiple X screens. 2007-11-03 02:27:23 +09:00
sqweek
dffc0f4d93 Fixed silly path searching quirk. 2007-10-21 14:29:44 +08:00
sqweek
379a3f7114 Attempt to fix dosbox/SDL focus issues. 2007-10-08 02:03:02 +08:00
uriel
7738356d03 Merge with sqweek's changes 2007-10-03 02:54:29 +02:00
uriel
99481a3d27 Go full screen when the client dimensions match exactly the screen dimensions, this is a hack, but I think it is the way some apps expect things to 'work' 2007-10-03 02:50:11 +02:00
sqweek
e389c234e5 Prevent segfault when initdisplay() can't open a Display. 2007-10-02 22:49:58 +08:00
sqweek
62da446cc1 Fix moves within the same column (broken since 2206). 2007-10-02 22:38:42 +08:00
sqweek
d0e6fb2c2e Don't move/resize the frame on the current tag when tagging a client with multiple tags. 2007-09-29 04:04:28 +08:00
sqweek
deca2c7f5e Make fullscreen remember what mode the client came from. 2007-09-29 02:45:11 +08:00
sqweek
88277eb6c7 Prevent crash when dragging window to the bottom of the column it's already in 2007-09-27 23:46:50 +08:00
sqweek
dc1b8042ab Fixed empty column bug when moving last client with the mouse 2007-09-27 23:25:28 +08:00
sqweek
0536494c9d Fixed column resizals when dragging the left edge of a client. 2007-09-22 21:14:59 +08:00
sqweek
660aeb755a Fixed overcompensation for minimum column width. 2007-09-22 21:13:26 +08:00
Kris Maglione
ad970838dc Fix the timestamp in events. 2007-07-18 19:45:36 -04:00
Kris Maglione
fc7109440c Fix printevent for ClientMessages. 2007-07-17 00:25:39 -04:00
Kris Maglione
f5da49e266 Make fatal() a bit nicer. 2007-07-16 22:16:58 -04:00
Kris Maglione
460ac864a1 Define _XOPEN_SOURCE to 600 to make glibc happy. 2007-07-16 21:44:25 -04:00
Kris Maglione
2efbe03e90 Bunch of fixes. 2007-07-16 16:52:35 -04:00
Kris Maglione
35cdf47d04 strlcat. 2007-07-14 12:05:07 -04:00
Kris Maglione
9647f7fd25 Fix some sizing bugs. 2007-07-03 18:46:03 -04:00
Kris Maglione
286003998a Run latex2man. Other cleanup. 2007-07-03 10:16:14 -04:00
Kris Maglione
1d62fa5b06 Unbreak double fork hack. 2007-07-03 05:55:35 -04:00