Commit Graph

325 Commits

Author SHA1 Message Date
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
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
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
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
Anselm R. Garbe
193dbc69fc several fixes 2006-03-27 11:55:41 +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
1b312231d6 finished internalized tag selector for bar 2006-03-24 13:36:35 +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
a0c4b1b908 fixed small issues in area.c 2006-03-23 15:58:36 +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
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
ddc74dea2e renamed /ws into /view, renamed select of /ctl into view 2006-03-23 09:54:20 +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
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
32426641d5 other cursor fixes 2006-03-22 17:08:21 +01:00
Anselm R. Garbe
1e99e3beb3 hopefully fixed cursor issue (following what rio did) 2006-03-22 16:25:24 +01:00
Anselm R. Garbe
4952030390 made destroy_tag static 2006-03-15 16:08:22 +01:00
Anselm R. Garbe
2851ce5b02 fixed cyclic calls of resize_client because it called resize_area (this is only called explicitely now) 2006-03-15 16:00:39 +01:00
Anselm R. Garbe
8e61f1b496 multitag syntax for select and tags file is allowed now with tag[+tag[+tag]...], spaces don't separate tags anymore!!! 2006-03-15 13:18:05 +01:00
Anselm R. Garbe
ebff664fd4 proceeded with tag separation 2006-03-15 10:35:38 +01:00
Anselm R. Garbe
dff6fb2502 began to store tags in a different way 2006-03-15 09:02:25 +01:00
Anselm R. Garbe
8820d14146 some refactoring of defines 2006-03-13 09:22:35 +01:00
Anselm R. Garbe
a8d3c69f03 fixed issues reported by DenisG and ality 2006-03-11 22:14:04 +01:00
Anselm R. Garbe
c0cf389d84 fixed column layout obscuring on running wmiirc again 2006-03-11 21:48:02 +01:00
Anselm R. Garbe
055fc504d7 implemented reverting memory for toggle stuff between floating/managed area 2006-03-11 20:50:53 +01:00
Anselm R. Garbe
311e369da1 removed /tags namespace, instead changed it to a file which contains all tags which are in use 2006-03-11 01:07:19 +01:00
Anselm R. Garbe
cb3997262d fixed /tags directory 2006-03-10 21:56:13 +01:00
Anselm R. Garbe
8c650f5bd0 fixed issue that client appears in different tag, improved update_keys (lock modifiers are updated now) 2006-03-10 21:42:39 +01:00
Anselm R. Garbe
72029737b5 removed meters (they have too limited use) 2006-03-10 18:35:00 +01:00
Anselm R. Garbe
9ce2bd40c4 enabled /def/rules handling, added default /def/rules to wmiirc 2006-03-10 17:17:59 +01:00
Anselm R. Garbe
321ba8b56a simplified wmiirc /def/keys writing thx ality!, and removed the warp action (if we ever need such stuff, it might go to a separate app, but I think we don't need it at all for now) 2006-03-10 16:54:07 +01:00
Anselm R. Garbe
81b32b785e simplified wmii, removed /keys namespace, instead keys are grabbed through writing /def/keys, just read it to get a list of grabbed keys 2006-03-10 16:21:20 +01:00
Anselm R. Garbe
7daf965430 added /def/rules file 2006-03-10 14:39:46 +01:00
Anselm R. Garbe
9ecfee9002 implemented YAREL 2006-03-10 14:17:32 +01:00
Anselm R. Garbe
9b0fcad4b9 remove TCR, added /client/class again 2006-03-10 11:59:26 +01:00
Anselm R. Garbe
6da9bfce1e added rule.c, a starting point for a rule engine 2006-03-10 11:50:52 +01:00
Anselm R. Garbe
a38844287a removed /def/class namespace, instead we got TCR events, though I consider if Uriel provides a nice rule engine in lesser then 100LOC I'm fine with his proposal 2006-03-09 22:43:24 +01:00
Anselm R. Garbe
cbdb1fb9b8 several fixes (esp. new destroy_client handling) 2006-03-09 20:25:50 +01:00
Anselm R. Garbe
4d796b3c5c removed Raise stuff, implement restack_tag instead which is called on focus_client and takes care of the correct Z layers of all windows of the tag 2006-03-09 13:19:12 +01:00
Anselm R. Garbe
03a80ed0d5 bar now displays tags perfectly ;) 2006-03-09 02:43:20 +01:00
Anselm R. Garbe
407ed38930 bar allows self-defined directories 2006-03-09 02:15:43 +01:00
Anselm R. Garbe
08f98bc26b tagging events: NT <tag> is written if a new tag appears in /tags, RT <tag> is written if a tag disappeared in /tags 2006-03-09 00:27:12 +01:00
Anselm R. Garbe
f78cc72f3d fixed transient handling, fixed zombie frames 2006-03-08 23:53:52 +01:00
Anselm R. Garbe
dec16283d1 enabling tag inheritance from /class/class:instance definition 2006-03-08 22:41:45 +01:00
Anselm R. Garbe
0309ac76c4 implemented /class namespace, which you can use to provide hints to the wm how to tag a specific class:instance of a client, ie echo -n ~gimp|wmiir create /class/Gimp:*, you can read the class:instance info ie via: wmiir read /ws/sel/sel/class 2006-03-08 17:45:16 +01:00
Anselm R. Garbe
ca016a504b added class.c to provide a sane class/instance handling for clients 2006-03-08 16:52:05 +01:00
Anselm R. Garbe
a829af6746 renamed sendtoarea into sendto, fixed both bugs reported by bogon, added classinstance stuff to Client struct (also initialized in alloc_client()) 2006-03-08 16:05:09 +01:00
Anselm R. Garbe
fe791debda rearranged client.c/frame.c 2006-03-08 13:00:10 +01:00
Anselm R. Garbe
6d48434538 fixed several issues, now seems much more stable 2006-03-08 12:17:18 +01:00
Anselm R. Garbe
4bfca250ce added /cache namespace containing available cached ws'es 2006-03-07 17:43:46 +01:00
Anselm R. Garbe
86077a19c1 implemented /client namespace 2006-03-07 17:22:36 +01:00
Anselm R. Garbe
f195ff6bdf proceeded with frames backref in Client struct 2006-03-06 23:55:47 +01:00
Anselm R. Garbe
d56bb672f8 removed NetWM stuff, the new tagging mechanism is completely different and cannot be handled by NetWM stuff in a sane way 2006-03-06 23:15:57 +01:00
Anselm R. Garbe
8a85f71a24 proceeded with fixing detach_fromtag, still buggy 2006-03-06 17:22:54 +01:00
Anselm R. Garbe
17a12e5c5d changed default tag, allowing writing /def/tag 2006-03-06 16:35:07 +01:00
Anselm R. Garbe
c1ec76e02b removed unnecessary stuff 2006-03-06 10:46:34 +01:00
Anselm R. Garbe
95a2527e11 proceeded with tag integration 2006-03-05 23:38:50 +01:00
Anselm R. Garbe
5df09bbf3f slightly switching to tag mechanism (though several updates still needed) 2006-03-05 20:00:18 +01:00
Anselm R. Garbe
e797517817 added 'nil' tag as default policy 2006-03-05 19:27:32 +01:00
Anselm R. Garbe
7e8ab56d91 added /tags namespace, added .../tags files to client namespace, added tag display in draw_client 2006-03-05 19:20:27 +01:00
Anselm R. Garbe
dcc6e16302 fixed mkqid to prevent issue reported by bogon 2006-03-05 16:48:14 +01:00
Anselm R. Garbe
421ac8babf enum fixes of Fs stuff 2006-03-05 14:16:48 +01:00
Anselm R. Garbe
c4edc4f3fd enumerized cursors 2006-03-05 13:22:42 +01:00
Anselm R. Garbe
665671e7e0 added tag and name fields to Tag and Client 2006-03-05 02:02:58 +01:00
Anselm R. Garbe
67cac9a10e added Frame redirection to allow arbitrary tag references to clients 2006-03-05 01:55:45 +01:00
Anselm R. Garbe
c243337350 removed bh/bw occurences (go rid of code) 2006-03-05 00:38:40 +01:00
Anselm R. Garbe
54b7d6dd2a removed Client.Frame 2006-03-05 00:25:49 +01:00
Anselm R. Garbe
0a144ff452 removed revert crap 2006-03-05 00:14:12 +01:00
Anselm R. Garbe
be62288596 enumerized atoms 2006-03-05 00:11:08 +01:00
Anselm R. Garbe
9c61ccf97e several changes toward the stuff announced at wmii@wmii.de (don't use yet) 2006-03-04 09:23:17 +01:00
Anselm R. Garbe
5789638533 removed much crap due to column simplifications 2006-03-02 19:58:54 +01:00
Anselm R. Garbe
93b9d5c9f0 some other fix 2006-03-02 17:38:15 +01:00
Anselm R. Garbe
0728d68133 small fix, still an oddifty on send next 2006-03-02 15:54:32 +01:00
Anselm R. Garbe
e23ca5ca59 proceeded with sendtopage fixes 2006-03-02 15:28:55 +01:00
Anselm R. Garbe
7e28da7db3 renamed maxclient into capacity, using a different way than hardcoding existing first column to capacity=1 2006-03-02 14:37:36 +01:00
Anselm R. Garbe
854999c376 implemented detach fetching for maxclient>0 columns 2006-03-02 13:37:52 +01:00
Anselm R. Garbe
e9243fc7ce implemented maxclient property for areas, the default is now, that first column has maxclient==1 (though if detached things still don't behave like I want it, detaching from maxclient column should fetch from next column a client if possible) 2006-03-02 10:26:30 +01:00
Anselm R. Garbe
f028b5eb5e improved the relaxing code 2006-03-01 16:20:02 +01:00
Anselm R. Garbe
01572b1897 made increment handling the default, no option to disable it, instead columns do some relaxing calculation to minimize increment-related gaps 2006-03-01 16:06:23 +01:00
Anselm R. Garbe
e23c331ba0 replaced size_t occurences with unsigned int, fixed issue reported by bogon (welcome disappearance issue) 2006-03-01 11:55:46 +01:00
Anselm R. Garbe
c855a6dad0 indexes begin at 0 now, page 0 can be used as clutter page (actually it is, Alt-{d,a} back again), sendto has no shortcuts in other cases atm 2006-03-01 11:09:49 +01:00
Anselm R. Garbe
e5ecb84d2d some tiny refactoring (renamed _to_ occurences into 2, removed crappy MAX mode from columns, we don't need it, set max to 1 instead (aka exclusive flag)) 2006-03-01 07:51:04 +01:00
Anselm R. Garbe
978127964a added MODKEY-Shift-s (for stacking mode of a column), MODKEY-Shift-m (for max mode of a column) and MODKEY-Shift-= for (equal mode, default) 2006-02-28 17:13:16 +01:00
Anselm R. Garbe
5d318d6a6b proceeded 2006-02-28 16:31:18 +01:00
Anselm R. Garbe
8b51412f04 began additions of /X/X/{max,mode} files to allow setting columns in a special mode 2006-02-28 16:23:05 +01:00
Anselm R. Garbe
757a026b2b changed destroy_page return type 2006-02-28 13:38:24 +01:00
Anselm R. Garbe
1c8c963c0f 'wmiir remove /<empty page>' will work now 2006-02-28 10:04:48 +01:00
Anselm R. Garbe
d61117a3db modularized focus stuff somewhat (focus_page don't implies focus_client and vice versa) 2006-02-28 08:51:53 +01:00
Anselm R. Garbe
c3b5fb7619 minimized movement overhead on attaching/sendtopage through a saner attach_client_to_page function 2006-02-27 16:09:13 +01:00
Anselm R. Garbe
313956abe0 cosmetic changes in wm.h 2006-02-24 17:13:58 +01:00
Anselm R. Garbe
f478c7f6d2 removed option to disable client bars, we don't allow that in the future because of intelligent stacks,
also removed option for per-client based border width, unnecessary bloat nobody really needs
2006-02-24 10:38:48 +01:00
Anselm R. Garbe
53c50eb697 fixed drop_moving, removed swap crap from column.c 2006-02-24 10:06:02 +01:00
Anselm R. Garbe
4a59f072da implemented sendtopage and sendtoarea, added shortcuts in wmiirc 2006-02-24 09:52:20 +01:00
Anselm R. Garbe
b3e54e3ae0 implemented cmd 'sendto <page>' in /x/x/x/ctl 2006-02-23 20:52:55 +01:00
Anselm R. Garbe
33ffed7293 removed detach layer as proposed in IRC yesterday, we will have some sendto soon 2006-02-22 10:58:00 +01:00
Anselm R. Garbe
0e4b36e0ff enabled basic navigation in column layout 2006-02-19 16:21:01 +01:00
Anselm R. Garbe
4435f84131 implemented basic new_column handling 2006-02-19 15:56:16 +01:00
Anselm R. Garbe
c81c95aa6c enabled partial column mode (experimental yet, don't use it, don't complain) 2006-02-19 15:40:44 +01:00
Anselm R. Garbe
9cfed5dfc8 fixed pseudo-zombie frames reported by bogon 2006-02-16 23:49:44 +01:00
Anselm R. Garbe
c70e73bf2d fixed bug reported by bogon 2006-02-16 15:28:51 +01:00
Anselm R. Garbe
068caf1da1 fixed a routing bug in qpath_decode 2006-02-16 11:53:10 +01:00
Anselm R. Garbe
93d8eb3617 some changes 2006-02-16 01:55:21 +01:00
Anselm R. Garbe
88ae3e3606 removed spawn.c, removed wmiiwarp.c (instead use warp action on /ctl), spawning is not necessary, remove exec on page heuristic (too crappy, instead I'll use class hints again, they are at least more reliable) 2006-02-16 01:05:16 +01:00
Anselm R. Garbe
922e04ebc3 implemented kb driven client select 2006-02-14 12:06:16 +01:00
Anselm R. Garbe
4a19a52003 proceeded with wm stuff 2006-02-13 10:31:38 +01:00
Anselm R. Garbe
523872ca3d removed modes from wmiirc, beside other several fixes 2006-02-11 23:54:00 +01:00
Anselm R. Garbe
30728dd3aa removed extra/ subdir, pkeys is obsolete 2006-02-11 15:58:47 +01:00
Anselm R. Garbe
55ca4d6c23 added button press event handling in wmiirc 2006-02-11 15:22:42 +01:00
Anselm R. Garbe
7deb1e86ba added WMII_FONT, WMII_SELCOLORS and WMII_NORMCOLORS to wmiirc 2006-02-10 18:32:35 +01:00
Anselm R. Garbe
918ece162d added new events (focus page and focus client provide the associated name) 2006-02-10 17:51:20 +01:00
Anselm R. Garbe
d14c83d855 fixed client dir walking (because of broken area id's) 2006-02-10 17:09:59 +01:00
Anselm R. Garbe
541149a008 fixed and polished several stuff in fs.c and various other parts in wm. 2006-02-10 15:59:30 +01:00
Anselm R. Garbe
a38480e40c made things to work again, bar now merged into wm, wmiirc is controller for wmii, changed /tmp/.ixp to /tmp/ns.$USER.$DISPLAY, ixp reuses sockets, so no problem, because wmii checks if a wm is already running, thus socket files cannot be stolen 2006-02-10 09:13:35 +01:00
Anselm R. Garbe
8a663e24d9 removed much unnecessary stuff, merged bar into wm (still not working) 2006-02-09 22:48:01 +01:00
Anselm R. Garbe
13a12b6a7d removed several files, merged wm and wmiikeys 2006-02-09 19:40:12 +01:00
Anselm R. Garbe
f685c1404f added client->revert 2006-02-09 00:50:30 +01:00
Anselm R. Garbe
75e6681fe7 nah, zombies still occure because of setsid, now sticking to old cool and reliable double-fork again 2006-02-08 11:07:30 +01:00
Anselm R. Garbe
5ec38ca782 added wmii_signal handler, changed spawn to single-fork, because wmii_signal handles SIGCHLD, thus zombies should not occur 2006-02-08 10:50:09 +01:00
Anselm R. Garbe
e6281f3fc1 proceeded with wmiikeys 2006-02-06 15:20:25 +01:00
Anselm R. Garbe
19124f7fb6 added /ctl actions 2006-02-06 10:46:52 +02:00
Anselm R. Garbe
eab6580a89 changed colors to be like in wmii-2, enabled increment handling, fixed Button2+ isues on focus 2006-02-04 20:55:37 +02:00
Anselm R. Garbe
70b69693ca rearranged grab stuff 2006-02-03 20:00:00 +02:00
Anselm R. Garbe
150c7bef96 added id-based qid-routing to wm/fs.c 2006-02-03 19:11:22 +02:00
Anselm R. Garbe
3728e6420f various changes in libixp/server.c, cmd/wmiibar.c and added id;s to Page, Client, and Area 2006-02-03 17:15:36 +02:00
Anselm R. Garbe
d2d5cae82c fixed wrong color rendering 2006-02-02 21:36:10 +02:00
Anselm R. Garbe
1da63ef2c9 fixed trans color usage 2006-02-02 21:08:34 +02:00
Anselm R. Garbe
5634105a41 set snap=20 by default again 2006-02-02 20:32:25 +02:00
Anselm R. Garbe
aeaed5a3df added Color type to liblitz, changed blitz_loadcolor to init Color types, proceeded with fs.c debugging in wm 2006-02-02 17:44:45 +02:00
Anselm R. Garbe
21482503cf made root_qid not static to prevent gcc braindamaged warnings 2006-02-02 15:51:54 +02:00
Anselm R. Garbe
124f39472d initializing IXP server in wm.c 2006-02-02 15:50:04 +02:00
Anselm R. Garbe
5d13828aa0 made wm to compile, now the polishing begins 2006-02-02 14:20:07 +02:00
Anselm R. Garbe
c332804b5b proceeded with client.c 2006-02-02 00:43:17 +02:00
Anselm R. Garbe
341aebaed4 finished wm/fs.c to compile, proceeded with wm/wm.c, now staying in wm/client.c 2006-02-01 23:24:07 +02:00
Anselm R. Garbe
8a00a26c45 finised xread and xstat, now going to xwrite 2006-02-01 17:27:53 +02:00
Anselm R. Garbe
543fe53df5 proceeded with fs.c 2006-01-31 18:52:14 +02:00
Anselm R. Garbe
0e2ce108a7 proceeded further 2006-01-31 14:25:23 +02:00