Commit Graph

1137 Commits

Author SHA1 Message Date
Kris Maglione
84ee4cc281 Fixed bad pointer arithmatic in convert.c, added 'send <id> <place>' to /tag/<n>/ctl 2006-06-18 16:58:10 -04:00
Kris Maglione
a4e2ab7b59 Merge in diffs for fs2.c and libixp 2006-06-17 07:32:49 -04:00
Kris Maglione
0104091f56 Reapplied multihead patch that I backed out. No merge, unfortunately. 2006-06-16 02:52:13 -04:00
Kris Maglione
b5b00caa66 More fixes/improvements to fs2.c/libixp; for whatever reason, I'm commiting these files and not the tree again. 2006-06-16 02:34:15 -04:00
Kris Maglione
c8bff01914 Same story as before. 2006-06-15 15:30:03 -04:00
Kris Maglione
a4cf1b6fde For whatever reason, I'm commiting more progress, but not the whole tree. Almost there, though. 2006-06-15 06:36:54 -04:00
Kris Maglione
91c16e1d9b Some bug fixes (some of which hg erased before) to fs2.c. Still no commit on rest of tree. 2006-06-15 04:42:21 -04:00
Kris Maglione
ad38c92e9f Commiting changes to fs2.c and request.c. Not commiting required changes to other files yet. 2006-06-15 02:48:31 -04:00
Kris Maglione
87eb4561ce Minor change to fcall allocation in preparation for fs2.c/libixp2 2006-06-14 19:26:35 -04:00
Anselm R. Garbe
8df05a7709 merged, and proceeded with liblitz stuff 2006-06-13 11:21:06 +02:00
Anselm R. Garbe
ea37c5afe7 changing liblitz to use a global Blitz context 2006-06-12 15:20:03 +02:00
Anselm R. Garbe
acdb6c4044 changed blitz_loadcolor to use Blitz type 2006-06-12 14:48:19 +02:00
Mikhail Gusarov
f398f6970a merge 2006-06-12 18:39:54 +07:00
Mikhail Gusarov
185ed448a6 ixp_unpack_* functions cleanup 2006-06-12 18:34:59 +07:00
Anselm R. Garbe
57b7bf74d4 moved liblitz/geometry.c to cmd/wm/geom.c 2006-06-12 13:20:30 +02:00
Anselm R. Garbe
f45bd87e8a s/Xi18n/Xmb/ global 2006-06-12 12:32:35 +02:00
Anselm R. Garbe
3cff6fff61 updated TODO 2006-06-12 12:11:22 +02:00
Kris Maglione
44cea2d241 Added some more shape to fs2.c. This commit at least shows how trivial stating is now.
This still doesn't compile due to a lack of headers and parts of libixp that don't exist yet.
2006-06-12 01:37:18 -04:00
Kris Maglione
90fbc47d51 Backing out last change... 2006-06-11 22:10:56 -04:00
Kris Maglione
59a06d3c5d Make sure wmiir read /bar/../.. returns with error. 2006-06-11 21:56:08 -04:00
Kris Maglione
797ee8b125 A draft of the base of fs2.c. This is mostly an attempt to give shape to my thoughts. 2006-06-11 02:35:44 -04:00
Kris Maglione
918815c6d5 Fixed null pointer exception for dirs 1> than the greatest index 2006-06-10 16:47:59 -04:00
Kris Maglione
550f47230b Fixed previous /client/n/ stat bug 2006-06-10 03:06:29 -04:00
Kris Maglione
5bcdd8c938 Fixed message.c size calculation brokenness. This is better, not ideal; to be cleaned up. 2006-06-10 02:18:32 -04:00
Kris Maglione
512e1c824b merge 2006-06-09 19:59:59 -04:00
Kris Maglione
d293339496 Fixed resizing first column, possible null pointer exception, and some whitespace changes. 2006-06-09 19:57:00 -04:00
Sander van Dijk
58ae619e01 column.c: same as in wmii-3 2006-06-09 20:06:34 +00:00
Kris Maglione
dd58d76cce Initialized i? to nil 2006-06-08 18:54:05 -04:00
Kris Maglione
fa95a1a017 A few fixes 2006-06-08 18:48:46 -04:00
Anselm R. Garbe
70e352ba5e removed ixp_socket_accept layeritis 2006-06-08 23:11:43 +02:00
Sander van Dijk
5a301641bf small fix in cmd/wm/wmii, update wmii.1 2006-06-08 19:30:48 +00:00
Kris Maglione
b0b46d2bf0 Used an initializer instead of memset for previous patch 2006-06-08 10:48:19 -04:00
Kris Maglione
fc014f101c Zero srv in case it isn't (this shouldn't happen) 2006-06-08 10:46:01 -04:00
Anselm R. Garbe
643a3f14f6 s/n > i - 1/n >= i/ 2006-06-08 13:16:24 +02:00
Anselm R. Garbe
e9b5f193bf fixed typo in newcolw_of_view() 2006-06-08 13:14:33 +02:00
Kris Maglione
88d1c80edb Fixed closing first column bug; updated cext_assert to abort() rather than exit(1) 2006-06-08 07:01:33 -04:00
Anselm R. Garbe
fdd8935f59 fixed stacked scaling 2006-06-08 11:12:09 +02:00
Anselm R. Garbe
f72c098ecf merged Kris' changes 2006-06-08 10:54:19 +02:00
Anselm R. Garbe
91b4c6048c simplified assign_sel_view 2006-06-07 19:20:41 +02:00
Anselm R. Garbe
fd122b4a05 fixed colorization of new labels in the bar 2006-06-07 19:19:16 +02:00
Kris Maglione
f1a8ea8429 Fixed input width issues on change between title/input 2006-06-06 23:01:00 -04:00
Anselm R. Garbe
83f184dad7 applied Kris' idea to drop .0 suffixes in WMII_ADDRESS, removed internal labels, introduced several *Tag events, needs polishing 2006-06-06 21:10:30 +02:00
Anselm R. Garbe
67c8bc998a fixed mouse-based movements (was broken due wrong pt-assignements in do_mouse_resize and a wrong parameter in drop_move for new_column) 2006-06-06 18:56:31 +02:00
Kris Maglione
553a21620d Fixed a < that should have been <= 2006-06-05 16:20:31 -04:00
Kris Maglione
f2e1716ca1 Restructure of arguments in snapping code for better performance in tight loop 2006-06-05 16:01:31 -04:00
Kris Maglione
cb5b285aa1 Add increment handling to drag/resize. Moved draw_xor_border to fix flicker. 2006-06-04 23:47:09 -04:00
Kris Maglione
fa51a2261b Update client.c to take advantage of BlitzAlign masks 2006-06-04 23:02:08 -04:00
Kris Maglione
0161360877 Fixed handling of title width in wmiimenu 2006-06-04 21:50:48 -04:00
Kris Maglione
282a1b2e4e Replaced the title feature with something more palatable 2006-06-04 21:21:15 -04:00
Kris Maglione
a973cfc33d Removed useless goto 2006-06-02 01:13:23 -04:00
Anselm R. Garbe
6655ed568c thx to keiss (silently replacing the snap) 2006-05-31 21:55:51 +02:00
Anselm R. Garbe
25a7fc9216 /def/colrule now uses 30+40+20+10 syntax (num of + + 1 means num of columns, the sum must be 100, which is used for new columns), renamed /def/rules into /def/tagrules, renamed /def/ncol into /def/colrules 2006-05-31 19:48:44 +02:00
Kris Maglione
ee0dda3606 Return the mouse pointer after warping it to move/resize. Fair's fair. 2006-05-31 13:33:54 -04:00
Anselm R. Garbe
eeb62d2041 allowing size hints for /def/ncol (next push will rename /def/rules into /def/tagrules and /def/ncol into /def/colrules) 2006-05-31 19:13:21 +02:00
Kris Maglione
97495656b0 More move/resize fixes. 2006-05-31 13:01:00 -04:00
Anselm R. Garbe
3db422a5d4 removed unused vars 2006-05-31 17:53:05 +02:00
Kris Maglione
63f0541bf7 I really need sleep... same bugfix again 2006-05-31 11:51:07 -04:00
Kris Maglione
c65fdf160f Bugfix for mouse move/resize enhancements 2006-05-31 11:49:18 -04:00
Anselm R. Garbe
fb51980487 reverting Kris' changes 2006-05-31 17:21:52 +02:00
Anselm R. Garbe
bb0ad4f232 merged 2006-05-31 17:00:32 +02:00
Kris Maglione
de47e4cbe4 Enhancements/fixes to mouse-based moves/resizals 2006-05-31 10:54:28 -04:00
Anselm R. Garbe
9b5e93ba53 fixed issue reported by Maxi, reverted to /tmp/ns.$USER.$DISPLAY/wmii socket file 2006-05-31 16:34:48 +02:00
Anselm R. Garbe
05dd0d2a29 fixed indentation issues in Kris' code 2006-05-31 16:22:56 +02:00
Kris Maglione
1ecc5bbfc7 Added copyright information to mouse.c 2006-05-31 05:38:54 -04:00
Anselm R. Garbe
76c3e814ec removed 5 unnecessary lines 2006-05-31 10:32:27 +02:00
Kris Maglione
45507b607c Fixed windows snapping to the screen edge 2006-05-31 04:12:40 -04:00
Anselm R. Garbe
4904a19aae added /def/ncol stuff, see wmiirc for an initial syntax proposal 2006-05-31 09:51:40 +02:00
bsdaemon
d2a9e3a860 Rewrote window snapping code 2006-05-31 02:47:07 -04:00
Anselm R. Garbe
bfa0c759f4 some more changes, still unfinished (/me has to run now) 2006-05-30 19:13:33 +02:00
Anselm R. Garbe
e01ca2506a moved client-related stuff from rule.c to client.c 2006-05-30 18:42:42 +02:00
Anselm R. Garbe
15dfca474f removed /def/col{width,mode}, added /def/ncol instead, though /def/ncol has no effect atm 2006-05-30 18:28:05 +02:00
Anselm R. Garbe
cdc57ca2fd /foo/ -> ~+!+max rules now working fine, also renamed /client/X/class into /client/X/props, props syntax is now class:instance:name 2006-05-30 16:32:28 +02:00
Anselm R. Garbe
8a89f37797 merged 2006-05-30 11:14:08 +02:00
Anselm R. Garbe
2d6a829fe7 fixed rects_of_view 2006-05-30 11:13:32 +02:00
Sander van Dijk
eea176d0b5 make mousebased newcol creation dependant on pointer position rather than on % of client off screen (<=5 pixels from the side of the screen makes a new column) 2006-05-29 22:08:04 +00:00
Sander van Dijk
eb022b2613 update c->floating on clientfocus 2006-05-29 22:00:16 +00:00
Sander van Dijk
01a0796d65 change c->floating to !aidx in some places, fixes some stuff with fixed size apps 2006-05-29 19:38:02 +00:00
Anselm R. Garbe
ff7b72fe21 fixed bug reported by bogon (just curios that wmii didn't crashed) 2006-05-29 15:25:32 +02:00
Anselm R. Garbe
f4f392d29f combining smart placement strategy with snap_move in the the end (I dont want backport this) 2006-05-29 14:31:40 +02:00
Anselm R. Garbe
b8e17113d0 trim / from tags 2006-05-29 14:19:20 +02:00
Anselm R. Garbe
d3e24f818e switching back to server grabb'ed resizals (the other approach is too retarded) 2006-05-29 14:15:16 +02:00
Anselm R. Garbe
7eb5eb7f5d fixed the issue reported by tkoskine with sscanf 2006-05-29 12:48:21 +02:00
Anselm R. Garbe
41ae6bfe56 removed strtonum interface, using strtol+errno instead 2006-05-29 11:36:59 +02:00
Anselm R. Garbe
a52993c532 merged 2006-05-29 11:18:35 +02:00
Anselm R. Garbe
701f2a4414 removed parse_mvresize* crap 2006-05-29 11:18:18 +02:00
Georg Neis
3463666df2 resurrected OLD_PATH 2006-05-29 11:08:21 +02:00
Anselm R. Garbe
f7395c3d73 using opaque windows on resize/move, this allows to not grab the server 2006-05-29 11:04:29 +02:00
Anselm R. Garbe
c6bde2e403 also drawing empty bar 2006-05-29 10:08:29 +02:00
Anselm R. Garbe
0c1060ee1c small fix 2006-05-29 09:55:20 +02:00
Anselm R. Garbe
4d5ad01a01 removed snap-to-border for managed mode 2006-05-29 09:50:11 +02:00
Georg Neis
cf7154d6f3 exit if mktemp fails 2006-05-28 14:15:10 +02:00
Sander van Dijk
72e08cc61f fix fixed size apps resize attemp annoyances (same as in wmii-3 repo) 2006-05-27 17:56:22 +00:00
Sander van Dijk
54e19dc283 simplification in match_sizehints, remove some obsolete code 2006-05-26 19:15:04 +00:00
Georg Neis
4765e836e8 updated colors in wmiimenu.1 2006-05-26 16:55:40 +02:00
Georg Neis
a0016f176c small update of wmii.1 2006-05-26 16:47:57 +02:00
Anselm R. Garbe
db2e58388f off-by-one fixes by Chris King (I'm a moron) 2006-05-26 15:41:23 +02:00
Anselm R. Garbe
30c48b79e4 fixed match_sizehints (now frame-dependend) 2006-05-26 14:29:04 +02:00
Anselm R. Garbe
1e4b2bb061 removed crappy blitz_strtorect, added move/size commands for client ctl, cleaned up liblitz/geometry somewhat 2006-05-26 14:16:19 +02:00
Sander van Dijk
ef672bf5fe simplification in match_sizehints 2006-05-25 16:53:09 +00:00
Anselm R. Garbe
b195664857 multihead issue fix also in -current 2006-05-25 13:49:32 +02:00
Anselm R. Garbe
41c1fb40f0 updated man page 2006-05-25 13:21:07 +02:00
Anselm R. Garbe
4189258700 using unpredictable wmii address and wmiirc' proglist due to mktemp (prevents some security concerns) 2006-05-25 13:17:17 +02:00
Anselm R. Garbe
d310c746b7 draw title with west alignment 2006-05-25 12:49:24 +02:00
Anselm R. Garbe
562c598f03 added index file for column reverse addressing 2006-05-25 12:47:13 +02:00
Sander van Dijk
a36288c7e5 simplification in wmiimenu 2006-05-25 00:02:17 +00:00
Sander van Dijk
cb7bfcf1f2 implements a [-t <title>] option for wmiimenu (useful to display what the options in the menu mean). 2006-05-24 20:10:54 +00:00
Anselm R. Garbe
156746344e removed /tags, removed /<view>, using /tag/<view>/ instead with /tag/sel instead of /view/ 2006-05-24 18:12:55 +02:00
Anselm R. Garbe
2ba3598def fixed gualteri's bug report 2006-05-24 09:26:08 +02:00
Sander van Dijk
ee426b3676 fixedsize size resetting on attach to floating layer (same is in wmii-3 repo) 2006-05-23 20:14:08 +00:00
Sander van Dijk
4e3666abdd small change to fixedsize handling 2006-05-23 19:08:24 +00:00
Anselm R. Garbe
443843bfc6 fixed bug reported by John Galt 2006-05-23 18:51:16 +02:00
Anselm R. Garbe
13055ca087 allowing empty views, treating 'nil'-view specially 2006-05-23 16:56:43 +02:00
Anselm R. Garbe
874b2a730c do not write to stdin, but to stdout, wmiir 2006-05-23 08:34:31 +02:00
Anselm R. Garbe
9d34f12320 some change in tip 2006-05-23 08:25:13 +02:00
Anselm R. Garbe
a725d3d6b3 added wmiir ls, wmiir read behaves like 9p read now, to get full info use wmiir ls -l 2006-05-23 08:17:42 +02:00
Sander van Dijk
903d558f08 start fixed-size-requesting apps on the floating layer (even though they are still resizable for now, at least they'll start with their wanted size) 2006-05-22 20:35:20 +00:00
Anselm R. Garbe
1f0f42420c added newcol action for client ctls (takes next/prev argument), I didn't changed move 2006-05-21 19:21:37 +02:00
Anselm R. Garbe
a9e9456f42 removed the insert_* insanity, added cext_vattachat instead 2006-05-21 18:43:41 +02:00
Anselm R. Garbe
df70479dc8 clean target fix as well in cmd/Makefile 2006-05-21 16:36:01 +02:00
Anselm R. Garbe
1ee2585062 removed focuscolors again (unnecessary bloat) 2006-05-19 20:14:06 +02:00
Anselm R. Garbe
58fa7998b8 thx to keiss again, fixed the prevoff calculation as well 2006-05-19 19:43:31 +02:00
Anselm R. Garbe
3b01488153 fixed wmiimenu bug (also in wmii-3 repo) 2006-05-19 19:39:32 +02:00
Anselm R. Garbe
657ff52958 fixed bug reported by leknaat in wmii-4 2006-05-19 18:52:24 +02:00
Anselm R. Garbe
7324531047 added focuscolors (three color tuples now, which indicate focus and selection state) 2006-05-19 18:14:31 +02:00
Anselm R. Garbe
fa43df527d removed swapping 2006-05-19 17:38:45 +02:00
Sander van Dijk
108897b4ab remove unnecessary wmiisetsid calls (they are only confusing) 2006-05-17 19:09:14 +00:00
Sander van Dijk
ad1799b113 a couple of small changes:
wmiisetsid - "-v" only works if it's the first argument; make this more obvious from the usage() output.
wmiiwm.1 - some (very) tiny improvements.
2006-05-17 18:35:04 +00:00
Anselm R. Garbe
942904f7f5 fixed a bug on dir creation caused with 9p2000.ko 2006-05-17 16:47:26 +02:00
Anselm R. Garbe
819b0576e6 wmiisetsid fix proposed by Sander 2006-05-17 11:55:22 +02:00
Anselm R. Garbe
ee466c60d1 fixed 9P issues with styx reported on the list 2006-05-17 10:36:56 +02:00
Sander van Dijk
cd282d75c1 small spelling correction 2006-05-16 20:28:59 +00:00
Sander van Dijk
af6355b8af some changes to the manpages 2006-05-16 20:18:27 +00:00
Anselm R. Garbe
c5f6588b99 I think this fixes the Gaim issue 2006-05-16 17:43:19 +02:00
Sander van Dijk
d6d060cf95 use wmiisetsid in some more places, just to be sure... 2006-05-15 23:33:24 +00:00
Anselm R. Garbe
13d27ace6d important fix for broken move prev 2006-05-15 18:01:37 +02:00
Anselm R. Garbe
b14a2ad536 added wmiisetsid (to prevent annoyances with broken p9p apps) 2006-05-15 01:20:24 +02:00
Anselm R. Garbe
049fa9e0c0 several small fixes 2006-05-14 17:27:00 +02:00
Anselm R. Garbe
bc86e15489 fixed wmiimenu issue reported by nion 2006-05-13 21:21:32 +02:00
Anselm R. Garbe
4552ece65f fixed issue that mathematica crashed the WM (might also be related to other clients) 2006-05-13 21:15:44 +02:00
Anselm R. Garbe
cc42308990 making class/inst handling more robust against borken clients 2006-05-13 17:23:54 +02:00
Anselm R. Garbe
2edb2598e2 small cosmetic 2006-05-13 14:19:25 +02:00
Anselm R. Garbe
23394a922f respect client supplied floating positons, updated TODO 2006-05-13 12:21:41 +02:00
Anselm R. Garbe
a5dba00dc5 now seems fixed 2006-05-12 23:16:45 +02:00
Anselm R. Garbe
bf32fb23a6 if that is not fixed now, I eat a freezer 2006-05-12 21:17:03 +02:00
Anselm R. Garbe
8179f185dc small simplification 2006-05-12 20:49:46 +02:00
Anselm R. Garbe
ac9f54847f Sander, please check again ;) 2006-05-12 20:34:19 +02:00
Anselm R. Garbe
308405cc11 hopefully this fixes Sanders annoyances 2006-05-12 20:06:06 +02:00
Anselm R. Garbe
4d1fcd32d3 fixed wmiimenu issue (grabbing keyboard without input list made restart of X necessary, to get back input focus), updated README, updated TODO.wmii-4 (cleaned up, made ordered list) 2006-05-10 23:26:53 +02:00
Anselm R. Garbe
d962bec269 added some wmiimenu maximization stuff (entries are truncated if > mrect.width / 3) 2006-05-10 16:42:12 +02:00
Anselm R. Garbe
776bd2fd2b introduced Xi18n* function macros which are substituted regarding if X_UTF8_STRING is present to Xutf8* counterparts, otherwise to Xmb* counterparts 2006-05-10 15:33:53 +02:00