Commit Graph

862 Commits

Author SHA1 Message Date
Anselm R. Garbe
a126bbafb1 fixed view focussing issue in update_views 2006-04-13 15:37:52 +02:00
Anselm R. Garbe
fe500a8cd2 some more polishing 2006-04-13 15:35:10 +02:00
Anselm R. Garbe
11906f13b2 order matters in wmiirc 2006-04-13 14:58:22 +02:00
Anselm R. Garbe
fe0f4413e4 fixed match_rules 2006-04-13 14:38:29 +02:00
Anselm R. Garbe
39085f5b67 fix in match_rule 2006-04-13 14:31:07 +02:00
Anselm R. Garbe
4be90199ae removed 'retag' command 2006-04-13 14:09:28 +02:00
Anselm R. Garbe
aa50f6e179 fixed forgotten def.mod occurence in event.c 2006-04-13 12:21:08 +02:00
Anselm R. Garbe
4e4793336f removed /view indirection, instead tags occur in / directory, /view is a shorty for the viewed tag, fixed floating focus bug, fixed $MODKEY-s crashing bug on startup 2006-04-13 10:06:07 +02:00
Anthony Martin
ddd5dec606 fixed incorrect test for modifier masks, reported by Frank 2006-04-12 22:30:44 -07:00
Sander van Dijk
ec78f60e8a ugly hack to make 'retag' actually work (it didn't) on startup, but let it not mess up a users layout 2006-04-13 00:03:29 +00:00
Anselm R. Garbe
aa9c4c48a8 fixed reading /view/X/name 2006-04-12 14:31:38 +02:00
Anselm R. Garbe
eaa2d5f382 added /view/ctl for view-specific commands, fixed retag command of /ctl 2006-04-12 14:28:05 +02:00
Anselm R. Garbe
6d878a1b71 removed /tags, renamed /clients/ to /client/, changed /view, it contains now all avaiable views, to address the selected view, you have to substitute /view with /view/sel 2006-04-12 14:14:34 +02:00
Anselm R. Garbe
5c0fb002b6 using tv.tv_sec instead of unsigned int, though this might be unsafe 2006-04-12 12:53:21 +02:00
Anselm R. Garbe
bb7ac65b3e forgot a ! 2006-04-12 12:33:28 +02:00
Anselm R. Garbe
da725f1f83 now fixed the send_client_to bug, also changed max mode rendering, I added an additional bar which contains <sel client idx>/<number of clients> 2006-04-12 12:24:04 +02:00
Anselm R. Garbe
14375d795b fixed typo caused bug reported by bogon 2006-04-12 11:59:09 +02:00
Anselm R. Garbe
a6b8c2d30e fixed wmiirc ctime handling 2006-04-12 11:44:45 +02:00
Anselm R. Garbe
9e48c575e4 fixed the * tag issue proposed like Sander did in the mail 2006-04-12 11:39:59 +02:00
Anselm R. Garbe
e90a8151d4 fixed remark send by Sander in send_to_client 2006-04-12 11:36:17 +02:00
Anselm R. Garbe
d2aba5b621 fixed bug reported by Konstantin Klett via mail 2006-04-12 11:29:05 +02:00
Anselm R. Garbe
5662a1b15c added /def/grabmod, which allows to set the modifier key for mouse grab based moves/resizals (default is Mod1) 2006-04-12 11:08:31 +02:00
Anselm R. Garbe
69ddb68f00 made cmd/wm code more concise 2006-04-12 10:44:07 +02:00
Anselm R. Garbe
f5bdd9a03d fixed * tag bug in rules reported by sander, revsersed order of matching, classinst need to have the highest prio 2006-04-12 09:09:46 +02:00
Anselm R. Garbe
d7dc09cc8b removed Alt, instead use Mod1 in any case, added UP/.. vars to wmiirc 2006-04-12 08:53:06 +02:00
Sander van Dijk
9dc61b3f67 don't try to create a new column if there is only one client in the current one (prevents flicker on repeated sendto prev/next) 2006-04-11 21:01:13 +00:00
Sander van Dijk
325bd1be5e fixes the crash on M-S-space I was experiencing (checking order was wrong) 2006-04-11 20:33:09 +00:00
Anselm R. Garbe
3a65dd3100 changed property precedence in rule matching (client name has higher precendence than class instance) 2006-04-11 17:40:05 +02:00
Anselm R. Garbe
7c6025aee3 fixed bug reported by tove (1 -> 11, label kept state) 2006-04-11 17:38:58 +02:00
Anselm R. Garbe
0fff5a5aaf implemented /view/name file which contains currently selected tag 2006-04-11 17:21:38 +02:00
Anselm R. Garbe
99ca533ca7 removed $MODKEY-Shift-n, instead new columns are created on column boundaries on move prev/next respectively, seems more natural and reduces 1 keybinding 2006-04-11 15:54:14 +02:00
Anselm R. Garbe
5a2a5d41b5 fixed two bugs reported by nion and lavish 2006-04-11 14:23:13 +02:00
Anselm R. Garbe
d2825a06e2 fixed several update_views issues 2006-04-11 10:16:01 +02:00
Anselm R. Garbe
20a9a089a7 fixed wildcard handling (though now geometry issues on retag) 2006-04-11 09:20:19 +02:00
Anselm R. Garbe
9ec94a273b added 'nil' tag as fallback if no tag has been matched 2006-04-11 08:43:32 +02:00
Sander van Dijk
2124079312 fix a small column scaling issue 2006-04-10 20:55:33 +00:00
nion
4924c268ce wmiiplumb->wmiipsel 2006-04-10 22:15:45 +02:00
Anselm R. Garbe
140535aad0 removed tag.c 2006-04-10 17:51:05 +02:00
Anselm R. Garbe
53b9c7b33f rearranged 2006-04-10 17:50:39 +02:00
Anselm R. Garbe
c087c64dd2 simplified tagging data structures internally, though not finished yet, don't use this exessively ;) 2006-04-10 17:43:13 +02:00
Anselm R. Garbe
5a6da3e7cf added intelligent placement for floating layer, changed Makefile as discussed with Maxi 2006-04-10 15:48:27 +02:00
Anselm R. Garbe
72c0efea9e removed /view/tag, removed -t argument, instead /def/rules is used. A new magic tag "!" keeps track of inheriting the selected view tag (/.*/ -> !), the first rule /.*/ -> 1 replaces the /view/tag default tag stuff (ex -t argument), writing "retag" to /ctl applies /def/rule to all existing clients, except the "!" handling 2006-04-10 10:58:21 +02:00
Anselm R. Garbe
5137f3e1a2 began to implement intelligent floating placement 2006-04-07 20:06:59 +02:00
Anselm R. Garbe
3e49d746e3 implemented horizontal scaling for columns 2006-04-07 16:50:08 +02:00
Anselm R. Garbe
8199524d26 renamed 'equal' mode into 'default' mode 2006-04-07 16:08:17 +02:00
Anselm R. Garbe
cbf1082d50 fixed resizing offsets in swapping 2006-04-07 16:04:47 +02:00
Anselm R. Garbe
c94aff285c vertical scaling in 'equal' mode (will be called 'default' soon) for columns 2006-04-06 17:03:12 +02:00
Anselm R. Garbe
40a69dddaf fixed mouse grabbing for selection and resizals 2006-04-06 12:52:20 +02:00
Anselm R. Garbe
2b3eb084f7 simplified rule.c 2006-04-06 12:19:20 +02:00
Anselm R. Garbe
3588e0909d simplified tagging in Client 2006-04-06 11:31:54 +02:00
Anselm R. Garbe
ae2d270f22 cleaned up vector definition 2006-04-06 10:39:49 +02:00
Anselm R. Garbe
38fa6c1f49 proceeded with cleanup 2006-04-06 08:09:22 +02:00
Anselm R. Garbe
83834ba9b3 drastic reduction of ugly #define's 2006-04-06 07:55:33 +02:00
Anselm R. Garbe
bcec7933d8 fixed * handling 2006-04-05 19:45:34 +02:00
Anselm R. Garbe
bc2df2577c fixed name2view bug 2006-04-05 19:37:38 +02:00
Anselm R. Garbe
48e62c1f94 fix of stupid bug 2006-04-05 18:27:52 +02:00
Anselm R. Garbe
d2c6677892 added * tag for having clients sticky 2006-04-05 13:27:12 +02:00
Anselm R. Garbe
9ade67af99 removed view <tags>, instead view <tag>, removed ~ labelling of tag labels in the bar 2006-04-04 12:25:36 +02:00
Anselm R. Garbe
0cdd4e85a8 merging usa's yesterday proposal for kb.c with current style 2006-04-03 17:43:02 +02:00
Anselm R. Garbe
d9c9ef17f3 fixed kb.c 2006-04-03 17:22:05 +02:00
Anselm R. Garbe
04323be88b removed libcext/array.c 2006-04-03 16:48:41 +02:00
Anselm R. Garbe
41f9a57ba6 prepared cext_array_* removal in libixp 2006-04-03 15:52:05 +02:00
Anselm R. Garbe
2dee3984ea removed cext_array_* stuff from wmiimenu 2006-04-03 15:38:32 +02:00
Anselm R. Garbe
72709aff0f removed array_attach from kb.c 2006-04-03 15:25:15 +02:00
Anselm R. Garbe
ede385c313 made the style more concise, s/evector_t/Vector/g, evector.c -> vector.c, s/foo_vec_t/FooVector/g, etc 2006-04-03 13:40:34 +02:00
Anselm R. Garbe
03cb248e71 applied the changes made by Icarus Sparry 2006-04-02 22:53:56 +02:00
Anselm R. Garbe
b4d964e5cd it is sufficient to prepend ~ in views only if they are in floating mode 2006-03-31 08:24:51 +02:00
Anselm R. Garbe
6bb011dc1e sanitized float handling, '~' is only used in /def/rules now, nowhere else and skipped explicitly as tag, Client struct contains a floating flag now (if set, the client will be floating in all views), added [n] suffix to view labels of the bar (does not occur in tags which have not yet been selected, thus no view) showing the focused area of the specific view 2006-03-31 07:57:33 +02:00
Anselm R. Garbe
42a175422d fixed tag selection issue from mailinglist 2006-03-30 14:58:53 +02:00
Anselm R. Garbe
43edcfc10f bugfix of the destroy_key bug 2006-03-30 13:28:21 +02:00
Anselm R. Garbe
5f37f67821 implemented implicit view destroying if last client gets detached, corrected taglabel appearance/disappearance, fixed some small bugs 2006-03-29 09:45:54 +02:00
Sander van Dijk
4c995b2911 small drop_resize change, handle a cornercase nicer 2006-03-28 20:17:44 +02:00
Sander van Dijk
353a8103bb make vertical colresize more failsafe, fix some vertical wandering 2006-03-27 22:04:38 +02:00
Sander van Dijk
6cd35210a2 little hack to update the taglabel on (un)set of colmax when there's only one client in the column 2006-03-27 20:40:05 +02:00
Sander van Dijk
c32e978ebb fix swap-related crashes 2006-03-27 19:09:30 +02:00
Anselm R. Garbe
193dbc69fc several fixes 2006-03-27 11:55:41 +02:00
Anselm R. Garbe
ae89ad3d79 swapping keeps focus 2006-03-27 11:12:18 +02:00
Anselm R. Garbe
44a0d02c92 fixed some other swapping issues, now works like a charm 2006-03-27 09:48:48 +02:00
Anselm R. Garbe
344f3d0573 fixed crashing bug 2006-03-27 09:42:22 +02:00
Anselm R. Garbe
fcedcdcafd replaced exclusive flag with swap ($MODKEY-Shift-{h,j,k,l}) 2006-03-27 09:38:41 +02:00
Anselm R. Garbe
c946b86cdf re-applying Sanders patches which I accidently overwrote 2006-03-27 09:01:05 +02:00
Anselm R. Garbe
6ce7eb4337 exclusive mode of columns done with $MODKEY-x 2006-03-27 08:38:17 +02:00
Anselm R. Garbe
5e43254a12 removed capacity (doing that as exclusive mode is saner) 2006-03-27 07:46:12 +02:00
Anselm R. Garbe
b42643433e added /view/X/capacity (though some corner cases might crash the wm if you use it) 2006-03-27 07:17:47 +02:00
Sander van Dijk
c7cba3c123 make drop_resize more reliable in cornercases. 2006-03-26 22:13:35 +02:00
Anselm R. Garbe
d12fe194b5 added new shortcuts as described in prev snap, fixed rule.c issues (update_rules()), changed bar rendering order as explained in IRC (expand is the first non-intern label with east alignment) 2006-03-26 18:21:12 +02:00
Anselm R. Garbe
0d935ce433 some cleanup in rule.c, added $MODKEY-Shift-{j,k} 2006-03-26 17:49:31 +02:00
Anselm R. Garbe
2376e1c829 fixing confreq issue (maybe this fixes other issues as well) 2006-03-26 16:47:06 +02:00
Anselm R. Garbe
a17657c62a changed bar drawing, the top-right label's text is east-aligned and uses the available space, thus it is expanded 2006-03-26 16:37:03 +02:00
Anthony Martin
e64403e90c should fix the bug reported by Fernan on the mailing list 2006-03-24 21:16:58 -08:00
Anselm R. Garbe
73dbbb13ea fixed crashing bug on second run of wmiirc 2006-03-24 15:45:30 +01:00
Anselm R. Garbe
bdc19c863a tag label in titlebar is now inverted, if the column is in max mode 2006-03-24 15:30:48 +01:00
Anselm R. Garbe
92c17cb5f2 drawing tags into a separate label in the titlebar 2006-03-24 15:23:21 +01:00
Anselm R. Garbe
fb813f2bc1 rejecting writing empty tags 2006-03-24 15:17:50 +01:00
Anselm R. Garbe
94ec2ffc74 because I think wmiimenu is adequate enough and we don't need an input widget, I allow moving frames by grabbing their titlebar 2006-03-24 15:15:46 +01:00
Anselm R. Garbe
dd64d2e7b6 if tags of a client change, then the frame is redrawn 2006-03-24 15:06:47 +01:00
Anselm R. Garbe
c63add01fe some more changes to wmii.1 2006-03-24 13:52:22 +01:00
Anselm R. Garbe
67b6bb092a added correct socket file to wmii.1 2006-03-24 13:46:56 +01:00
Anselm R. Garbe
1b312231d6 finished internalized tag selector for bar 2006-03-24 13:36:35 +01:00
Anselm R. Garbe
829a64e302 drawing quadrants as well 2006-03-24 12:28:52 +01:00
Sander van Dijk
9d96bc2fe6 introduce a min_colwidth (32 pix for now), limit the amount of columns to screenwidth/(2*min_colwidth) 2006-03-23 21:39:02 +01:00
Anselm R. Garbe
80bde63776 moving the view label stuff from wmiirc to wmiiwm (removed expand), merging with available tags and click handling will follow 2006-03-23 20:48:26 +01:00
Anselm R. Garbe
9bc3e63b9a found a way to remove queueing and to have correct tag info in the bar, which is pretty simple 2006-03-23 18:08:55 +01:00
Anselm R. Garbe
199c419bd8 removed unnecessary alignments in mouse.c 2006-03-23 17:02:35 +01:00
Anselm R. Garbe
14d5ff7f95 reformatted somewhat 2006-03-23 16:56:47 +01:00
Anthony Martin
faa0dd5bf5 fixed the filesystem specification comment 2006-03-23 07:32:45 -08:00
Anselm R. Garbe
a6c99a8319 merged 2006-03-23 16:13:48 +01:00
Anselm R. Garbe
df6701edea slightly changes in fs.c, removed kmode and quit from wmii.1 2006-03-23 16:12:28 +01:00
Anthony Martin
5cee0164e6 removed trailing whitespace in *.c, code cleanup finished 2006-03-23 07:12:06 -08:00
Anthony Martin
a9ad74533e cleaned up formatting in fs.c 2006-03-23 07:07:18 -08:00
Anselm R. Garbe
ac6bd022ca grab frame instead of client area (much more convenient) 2006-03-23 16:04:22 +01:00
Anselm R. Garbe
a0c4b1b908 fixed small issues in area.c 2006-03-23 15:58:36 +01:00
Anthony Martin
a0d45af215 cleaned up formatting in view.c and wm.c 2006-03-23 06:01:32 -08:00
Anselm R. Garbe
93b0e21ffb removed snap output in fs.c/FsDdef 2006-03-23 14:47:07 +01:00
Anselm R. Garbe
39f4a3a630 removed that feature again, with tagging bars this won't work well, thus I keep it out 2006-03-23 14:44:10 +01:00
Anselm R. Garbe
d154240ab4 allowing moving frames through Button1 on frames (though resize only through the Modkey+Button3 on client area), this allows handy movements between columns 2006-03-23 14:42:33 +01:00
Anselm R. Garbe
9d37029fe9 snap value is calculated dynamically now 2006-03-23 14:37:54 +01:00
Anselm R. Garbe
5e2c219f0e setting default border to 2 pixels 2006-03-23 14:30:00 +01:00
Anthony Martin
fecbab94dd cleaned up formatting in event.c, kb.c, mouse.c, and wm.h 2006-03-23 05:22:43 -08:00
Anselm R. Garbe
9e6e5f389e cleaned wmiipsel semantically 2006-03-23 11:20:53 +01:00
Anthony Martin
d1cbae8a98 cleaned up formatting in wmiipsel.c 2006-03-23 02:09:50 -08:00
Anselm R. Garbe
9185e59c66 cleaned up inclusions in tag.c and view.c, fixed view action in /ctl 2006-03-23 10:50:04 +01:00
Anselm R. Garbe
5549d217e8 renamed ctag occurences to tag, now the code should be much more readable 2006-03-23 10:46:35 +01:00
Anselm R. Garbe
b248569f4d renamed several _tag functions into _view where it makes sense 2006-03-23 10:43:57 +01:00
Anselm R. Garbe
04bba2a6c4 separated tag.c into tag.c and view.c, renamed Tag to View, still some parts to be adapted 2006-03-23 10:36:51 +01:00
Anselm R. Garbe
74a25f3158 fix of fix 2006-03-23 10:06:43 +01:00
Anselm R. Garbe
ddc74dea2e renamed /ws into /view, renamed select of /ctl into view 2006-03-23 09:54:20 +01:00
Anselm R. Garbe
4accad27fc updated enqueue condition 2006-03-23 09:28:43 +01:00
Anselm R. Garbe
eccba17195 added necessary strdup's in event queueing 2006-03-23 09:23:09 +01:00
Anselm R. Garbe
cc572f14f1 implemented event queueing and fixed a bug in rule.c reported by usa 2006-03-23 08:43:26 +01:00
Anthony Martin
38cb6fdc0d cleaned up formatting in bar.c and client.c 2006-03-22 14:49:18 -08:00
Anthony Martin
f0c75feab7 cleaned up code formatting in area.c 2006-03-22 14:16:23 -08:00
Sander van Dijk
d62ca8148c just to be sure, let's do an extra check here too... 2006-03-22 23:03:53 +01:00
Anthony Martin
67bfcd39cb cleaned up code formatting in wmiimenu.c 2006-03-22 13:54:23 -08:00
Sander van Dijk
c0e7213544 fix a small Alt-space issue (stricter checking needed for the case where both the selected area and t->revert were 0) 2006-03-22 22:34:48 +01:00
Anthony Martin
1e6210396d cleaned up code formatting in wmiir.c 2006-03-22 13:16:26 -08:00
Georg Neis
4a2b5a7230 added -t option to wmii
make tests more robust
2006-03-22 21:11:57 +01:00
Anselm R. Garbe
ff6040856c made /ws/tag read-only 2006-03-22 20:09:22 +01:00
Anselm R. Garbe
0d333433ab added -t <default tag> to wmiiwm 2006-03-22 20:03:41 +01:00
Anselm R. Garbe
8874f818a1 merged 2006-03-22 19:58:00 +01:00
Anselm R. Garbe
775975476d small fix in mkqid 2006-03-22 19:57:18 +01:00
Georg Neis
a2cea1fd41 fix ctrl+alt+w,y handling, update SEE ALSO in wmii.1 2006-03-22 19:56:55 +01:00
Anselm R. Garbe
85ebc41100 several fixes in fs.c, wmiir read /foobar presents now Enofile 2006-03-22 19:54:27 +01:00
Sander van Dijk
a63783c994 manpage correction: wmiir and wmiiwm print version info on stdout too 2006-03-22 18:09:56 +01:00
Anselm R. Garbe
d3fbdfac1b removed border cursor displaying on motion event, we got Alt-Button{1,3}, we don't want redundant behavior 2006-03-22 17:26:39 +01:00
Anselm R. Garbe
9708b26a9a trick, using def.border - 1 instead of def.border 2006-03-22 17:17:00 +01:00
Anselm R. Garbe
32426641d5 other cursor fixes 2006-03-22 17:08:21 +01:00
Anselm R. Garbe
8fac4081d7 merged once again 2006-03-22 16:30:14 +01:00
Georg Neis
1d2c5bf7d8 oops 2006-03-22 16:26:42 +01:00
Anselm R. Garbe
1e99e3beb3 hopefully fixed cursor issue (following what rio did) 2006-03-22 16:25:24 +01:00