Commit Graph

1528 Commits

Author SHA1 Message Date
Kris Maglione
ad368c5d46 Fix some focus bugs; cleanup. 2007-04-23 18:31:35 -04:00
Kris Maglione
d9cbab2ce9 Make sure increment hints are at least 1. 2007-04-23 13:42:07 -04:00
Kris Maglione
508de49d67 Fix opaque resizals. Remove the 'broken app' background. 2007-04-23 02:47:44 -04:00
Kris Maglione
6fd517e1ec Fix the stacking of the bar in fullscreen mode. 2007-04-23 02:44:02 -04:00
Kris Maglione
d164c9f51f Finish support for .depend makefiles and the 'make depend' target. 2007-04-23 02:29:02 -04:00
Kris Maglione
ee52f1d35d Fixed some column scaling bugs. 2007-04-22 02:06:56 -04:00
Kris Maglione
1db9310896 Fix reading of WM_PROTOCOLS. 2007-04-22 01:58:31 -04:00
Kris Maglione
4747be2cc9 Track a window's class rather than polling it on name changes. 2007-04-22 01:29:35 -04:00
Kris Maglione
ba5c453954 Update the class string when updating the title. 2007-04-22 01:04:55 -04:00
Kris Maglione
da1c99c630 Remove debugging statement from util/compile. 2007-04-22 00:31:47 -04:00
Kris Maglione
e977005195 Use a uchar* buffer for wmiir.c to avoid a warning. 2007-04-22 00:07:23 -04:00
Kris Maglione
4b9fc7ab1f Fix EXCFLAGS in the /cmd directory. 2007-04-22 00:05:05 -04:00
Kris Maglione
f620e46171 Better relaxing code. 2007-04-21 23:56:09 -04:00
Kris Maglione
6e9deaaec5 Backport /client/n/label change. 2007-04-21 23:53:39 -04:00
Kris Maglione
0b2c30fd88 Added writable /client/n/label 2007-04-21 22:04:11 -04:00
Kris Maglione
7eed342876 Brute force, set the background pixmap of every window on any X event. Temporary. 2007-04-21 18:46:17 -04:00
Kris Maglione
cc14f006f8 Draw on the fg and bg of frames so broken apps like urxvt don't clear them. 2007-04-21 17:20:19 -04:00
Kris Maglione
391cf8e49a Bunch of fixes. Redraw divs when updated without waiting for expose. 2007-04-21 17:01:49 -04:00
Kris Maglione
9e3cd5d606 Added support for the MWM borderless hint, since apps seem to break without it. 2007-04-21 01:13:40 -04:00
Kris Maglione
ea5641e8b7 Better managed mode grabbox moving. 2007-04-20 19:35:46 -04:00
Kris Maglione
2802ad6f96 Preliminary working grab box support for managed clients. 2007-04-20 18:47:02 -04:00
Kris Maglione
255b2ee39b Add map.c. 2007-04-20 15:25:29 -04:00
Kris Maglione
06cfd55d30 Fixes, cleanup. Pass strings around instead of Atoms. 2007-04-20 15:24:49 -04:00
Kris Maglione
87f632b067 Fix gravity. 2007-04-20 02:52:33 -04:00
Kris Maglione
e1e28cdb9b Lots of fixes, cleanup. New 'config' make target to guess at and prompt for config.mk knobs. 2007-04-19 23:27:26 -04:00
Kris Maglione
ec5c7380b7 Cast iconv's second arg void, because of differing prototypes. 2007-04-18 16:37:21 -04:00
Kris Maglione
d77bf97f33 Include <errno.h> in utf.c. 2007-04-18 16:30:21 -04:00
Kris Maglione
c1dbb73648 Convert data from the fs to UTF-8, too. Fix a bug in synthetic configure notifies. 2007-04-18 15:50:25 -04:00
Kris Maglione
7fb69196ce Use Xutf8* rather than Xmb*. Convert from locale to UTF-8. Some other fixes. 2007-04-18 15:08:15 -04:00
Kris Maglione
957fa03c4e Fix a bunch of bugs. No more Xored moves/resizes. 2007-04-17 21:34:36 -04:00
Kris Maglione
4850457d6d Fixed bug in destroying areas. Changed vertical managed moves. 2007-04-17 14:41:22 -04:00
Kris Maglione
c1a60e3f26 Preliminary work on new grab box handling. Added x11.[ch], removed unused draw.c. 2007-04-17 14:00:15 -04:00
Kris Maglione
b24b865bd9 Cleanup. 2007-04-17 01:19:53 -04:00
Kris Maglione
50c62303dd Cleanup. Switch some lists to doubly linked. 2007-04-17 00:28:43 -04:00
Kris Maglione
a516c373ef cleanup 2007-04-16 22:47:32 -04:00
Kris Maglione
6cc9c57dfd Better modkey resizing behavior in managed mode. 2007-04-16 22:02:29 -04:00
Kris Maglione
0f8df1e36c Revert to grabbing AnyButton/AnyModifier on frame windows. Misc fixes. 2007-04-16 20:30:23 -04:00
Kris Maglione
d8a7ede21f New event processing model. 2007-04-16 19:54:31 -04:00
Kris Maglione
b67d9d3848 Misc fixes. 2007-04-16 17:00:09 -04:00
Kris Maglione
9a72e4a48b Some updates to divider drawing. 2007-04-16 14:51:24 -04:00
Kris Maglione
aeacaf7589 First commit to test branch 2007-04-16 14:06:32 -04:00
Kris Maglione
8abfb9d66d Don't 'segfault randomly at resizing windows'. 2007-04-15 14:05:26 -04:00
Kris Maglione
61db117898 Cleanup. 2007-04-14 08:06:23 -04:00
Kris Maglione
9d0cdd5ca2 Same as the last commit, only right. 2007-04-14 04:41:15 -04:00
Kris Maglione
49ac08aaa6 Don't segfault when trying to grab the first or last column devider. 2007-04-14 04:37:38 -04:00
Kris Maglione
84368de7f3 Cleanup. 2007-04-14 03:03:06 -04:00
Kris Maglione
172ac9ce07 Added resize cursor. Fixed colmodes. Fixed warning. 2007-04-14 02:50:31 -04:00
Kris Maglione
aafc92f220 Improved column resizing. 2007-04-14 02:35:58 -04:00
Kris Maglione
ca77b0cd99 Some preliminary changes to make managed mode more cohesive. 2007-04-13 19:23:24 -04:00
Kris Maglione
54f2e140d8 Some stuff from yesterday or so. Testing eris. 2007-04-10 05:04:19 -04:00
Kris Maglione
33ec75a157 New window moving algorithm which doesn't require (but suggests) warping. 2007-04-07 02:44:39 -04:00
Kris Maglione
61d5a141f7 Cleanup in mouse.c, 9menu. 2007-04-07 01:28:49 -04:00
Kris Maglione
375b59eefd Cleanup LICENSE and README. Some minor changes from last night that I can't remember. 2007-04-06 15:29:24 -04:00
Kris Maglione
6336612d9c Use util.c (emalloc, estrdup) in wmii9menu. 2007-04-06 02:25:58 -04:00
Kris Maglione
d3f84606af New args processing code for wmii9menu. 2007-04-06 02:09:51 -04:00
Kris Maglione
90f9413671 Fix some repetative code in wmii9menu. 2007-04-06 01:44:50 -04:00
Kris Maglione
f43d50d2aa Add a note that wmii9menu.c is modified. 2007-04-06 01:36:17 -04:00
Kris Maglione
a6893551ea Fixed some bugs with managed moves/swaps. Some cleanup elsewhere. 2007-04-05 17:30:50 -04:00
Kris Maglione
8b38c3cbd7 Quote $@ in some places. 2007-04-05 14:15:15 -04:00
Kris Maglione
cdf2755129 Don't destroy 'nil' view if it isn't empty. 2007-04-02 06:07:01 -04:00
Kris Maglione
75a2951be1 Write /ctl before the second sourcing of rc.wmii.local 2007-03-31 17:22:30 -04:00
Kris Maglione
391c14baac Print only one line for each font with missing fontsets. 2007-03-31 00:19:12 -04:00
Kris Maglione
bae882dfec Don't check the values of WMII_ADDRESS and WMII_NS_DIR on startup. 2007-03-30 22:35:40 -04:00
Kris Maglione
40772c24ab Tread nil a bit more specially. 2007-03-30 01:15:36 -04:00
Kris Maglione
1ec81ff9c0 The 'nil' view is no longer particularly special. Generate CreateTag events before CreteArea events. 2007-03-30 00:26:35 -04:00
Kris Maglione
e012b7c5f7 Fix ARGBEGIN bug. Refactor wmiir.c. Create lib and include directories before installing. 2007-03-27 17:39:00 -04:00
Kris Maglione
c45a788363 Fixed readdir. 2007-03-26 17:38:02 -04:00
Kris Maglione
983f1baa16 Fixed some bugs. 2007-03-26 17:21:05 -04:00
Kris Maglione
f758fba726 Fix the CONFPREFIX (was ${MAN}, should have been ${ETC}). 2007-03-26 15:55:11 -04:00
Kris Maglione
44c9792a4c Add a default label to the argument checking in wmiir 2007-03-26 15:46:37 -04:00
Kris Maglione
5d5ba6e283 Fixed a dial that should have been an announce. 2007-03-26 13:26:45 -04:00
Kris Maglione
f51f33bae8 Add (dat fns).h. Set LIBIXP to ${LIBDIR}/libixp.a until libixp is part of the tree. 2007-03-26 13:03:43 -04:00
Kris Maglione
6e54af6831 Fix build for gmake. Add uninstall target. Fix if statement with no command. 2007-03-26 12:57:46 -04:00
Kris Maglione
b0e967a3e9 Fixed VERSION info in wmiir and wmii. 2007-03-26 01:40:47 -04:00
Kris Maglione
38a12d53d2 Statically link wmiir. 2007-03-26 01:26:10 -04:00
Kris Maglione
b306ac581f New tree layout and make system. Note: This will currently *not* install configuration scripts. 2007-03-26 00:48:00 -04:00
Denis Grelich
f64bbfd5f3 removed obsolete cmd directory 2006-12-18 11:51:04 +01:00
Anselm R. Garbe
4a7273b827 reorganized, still liblitz there 2006-10-12 15:11:25 +02:00
Anselm R. Garbe
083302da16 removed wmiipsel, wmiisetsid, wmiiwarp (replaced with separate packages spsel, ssid, swarp) 2006-10-10 08:16:53 +02:00
Anselm R. Garbe
f4ce71c9dd removed misleading fs-part 2006-09-28 16:12:00 +02:00
uriel
b3841e16ac Revert changes that are not needed for 3.5 2006-09-28 13:02:06 +02:00
Anselm R. Garbe
3d7d098d25 prepared liblitz removal 2006-09-28 13:20:41 +02:00
Anselm R. Garbe
a13455d665 prepared 3.5 2006-09-27 18:05:40 +02:00
Anselm R. Garbe
6396abfd25 removed wmiimenu, added dmenu dependence 2006-09-27 17:40:39 +02:00
arg
8f4873efa5 some C sanitizing 2006-09-27 07:56:40 +02:00
Anselm R.Garbe
f226c16eff added mappingnotify event/removed keyboardnotify (now xkbset ans such tools should work fine) 2006-08-14 18:41:59 +02:00
Anselm R. Garbe
5031e3cccf removed unnecessary inclusions in wmiimenu.c 2006-07-14 11:02:02 +02:00
Sander van Dijk
d4451fc320 make minimum column width resolution dependent, fix some off-by-one's 2006-07-13 21:58:26 +00:00
Anselm R. Garbe
407ec20d14 removed ignoring SubstructureNotify suppressing on configure_client (learned this in gridwm) 2006-07-12 14:14:23 +02:00
Anselm R. Garbe
4f13adf6fd readded wm_atom's again, necessary to not kill complete apps when sending kill to a popup 2006-07-11 16:15:01 +02:00
Anselm R. Garbe
874228cf1a applied 20h's patches with small minor changes (made wmiir compile against his changes) 2006-07-11 14:06:21 +02:00
Anselm R. Garbe
6b83565318 removed wm_atoms handling (was basically only necessary for client state changes (we don't use them anymore) and for WM_PROTOCOL_DELET (we simply use XKillClient now for simplicity reasons) 2006-07-11 12:12:29 +02:00
Anselm R. Garbe
7d808e3955 better text offset handling in liblitz (using font->height/2 now) 2006-07-11 08:42:15 +02:00
Anthony Martin
381e8c7a9c prevent an infinite loop in wmiipsel 2006-07-10 09:09:37 -07:00
Anselm R. Garbe
4628fa8259 removed win_state functions, not used 2006-07-10 16:14:18 +02:00
Anselm R. Garbe
e716fb9955 small changes towards new frame bars 2006-07-10 09:13:09 +02:00
Anselm R. Garbe
5b91425d2b added offset handling to blitz_getselection and wmiipsel (works like a charm) 2006-07-06 16:40:33 +02:00
Anselm R. Garbe
09da2b8809 implemented blitz_getselection function which is called by wmiipsel now and will be used for paste, blitz_setselection is on todo for snarfing 2006-07-06 16:03:28 +02:00
Anselm R. Garbe
fd462e83c7 same fix in wmiir.c reported by aki, proceeded with input widget 2006-07-06 14:44:26 +02:00
Anselm R. Garbe
d520de9001 implemented proper cursor handling for input widget 2006-07-06 14:31:30 +02:00
Anselm R. Garbe
3d6a47bba9 now using pointer grabs in bpress handling of input widgets 2006-07-06 14:11:09 +02:00
Kris Maglione
9e7804fda2 Make sure that new bars are blank. 2006-07-05 17:40:55 -04:00
Sander van Dijk
110f89587e simplification in wmiimenu.c 2006-07-05 19:07:00 +00:00
Anselm R. Garbe
6f3b077034 added 3 more colorsets for marked text in tagbars 2006-07-05 15:14:50 +02:00
Anselm R. Garbe
66a02dffcb removed obsolete debug mesg 2006-07-05 11:36:08 +02:00
Kris Maglione
8da59d1ff9 Made use of malloc wrappers added in last commit 2006-07-04 18:00:11 -04:00
Sander van Dijk
6ad1e76b3e correct backspace behaviour in wmiimenu (never backspace more than one char when nitem == 0) 2006-07-04 22:40:04 +00:00
Sander van Dijk
1dc92abfa8 small fix (off-by-one), small change 2006-07-04 20:50:15 +00:00
Sander van Dijk
35e90254c1 replace the call to malloc with a call to cext_emallocz 2006-07-04 20:04:42 +00:00
Sander van Dijk
4b8edd2e48 Replace Vector with a linked list in wmiimenu, getting rid of a bunch of unnecessary malloc()'s and free()'s. 2006-07-04 19:51:59 +00:00
Anselm R. Garbe
d5b19e9731 implemented dblclick selection for input widget, and C-u, C-w, C-a, C-e handling 2006-07-04 17:31:37 +02:00
Anselm R. Garbe
857030f02c fixed input focus issues reported of current tagbar 2006-07-04 15:49:10 +02:00
Anselm R. Garbe
153f2169aa moved wmiikgrab.c to wmii.related (my history folder) 2006-07-04 15:31:35 +02:00
Anselm R. Garbe
96dadee572 found a working way for completely grabbing the keyboard and using XTestFakeKeyEvent() from XTEST extension which would work with all kind of clients (only local clients) 2006-07-04 14:30:47 +02:00
Anselm R. Garbe
9ed7244658 wmiikgrab can be exit with Escape, it reports all key event and resends the original one to the specific client, however the client must have to accept synthetic events (like wmii frames) 2006-07-04 14:07:08 +02:00
Anselm R. Garbe
74750219da added wmiikgrab tool to cmd/ (don't invoke it unless you don't want to restart X), I search for a way to exploit the synthetic flag of key events in X atm 2006-07-04 13:22:59 +02:00
Anselm R. Garbe
404b2100a3 tagbar editing works now 2006-07-03 20:56:41 +02:00
Anselm R. Garbe
2af8fef0e0 renamed Blitz' dsiplay into dpy 2006-07-03 18:41:14 +02:00
Anselm R. Garbe
9a0bae0b61 deactivation of active keyboard grab 2006-07-03 12:22:46 +02:00
Anselm R. Garbe
a206679e89 added prelim version of keyboard handling, however don't try it now 2006-07-03 12:14:26 +02:00
Anselm R. Garbe
15c62b0874 removed unnecessary draw_frame in resize_client 2006-07-03 09:27:50 +02:00
Kris Maglione
207aac30fe Prevent floating windows from appearing off screen or covering the bar. 2006-06-30 20:16:49 -04:00
Kris Maglione
f22d6445dd Sorry, another change to /tag/x/index '<area> <client> <y> <h> ...' 2006-06-30 17:04:34 -04:00
Kris Maglione
a903306026 Make wmiiwarp scan y from argv[2] rather than argv[1] 2006-06-30 17:03:46 -04:00
Kris Maglione
e5be02b7e9 Fixed prev commit: '# ~ <screen width> <screen height>' '# <area n> <x> <width>' 2006-06-30 16:09:33 -04:00
Kris Maglione
97d2c319ce Added '# <view> <width>' to /tag/x/index 2006-06-30 15:54:29 -04:00
Anselm R. Garbe
80c337d10c fixed tf (typo?) 2006-06-30 14:18:26 +02:00
Anselm R. Garbe
281e1fb5ab added focus{in,out} notification (this is necessary to get a clue while we can grab the keyboard for the tagbar) 2006-06-30 14:10:03 +02:00
Anselm R. Garbe
6de57e1202 implemented cursor setting (selection for 1 character I'm working on), eliminated several compiler warnings which drive me nuts 2006-06-30 12:21:26 +02:00
Kris Maglione
0a5aa6a6a4 Fixed frame bug from the mailing list plus other frame related cleanup. 2006-06-30 02:02:44 -04:00
Kris Maglione
4c6e737870 Fix a possible segfault in bar sizing 2006-06-29 23:09:47 -04:00
Kris Maglione
8b1e64bb50 Ignore BadAccess error on XGrabKey. Fix + cleanup in column.c 2006-06-29 22:58:06 -04:00
Kris Maglione
e2652df909 Missed column.c in my last commit, somehow 2006-06-29 22:28:38 -04:00
Kris Maglione
f05e39aeed Began changes required for Xinerema support 2006-06-29 20:02:52 -04:00
Kris Maglione
0fd8d49ee8 Some cleanup in wm.h 2006-06-29 19:02:51 -04:00
Kris Maglione
b71912e999 sh sucks. Added more quoting to wmiirc. 2006-06-29 18:03:35 -04:00
Kris Maglione
5db9954834 Merge, it seems 2006-06-29 13:35:57 -04:00
Kris Maglione
884269f5a1 Close the X connection after the cleanup, rather than before. 2006-06-29 13:34:58 -04:00
Anselm R. Garbe
17bc1342d2 selection of tags works again (cursor settings need to be fixed however) 2006-06-29 11:53:45 +02:00
Kris Maglione
f6aa23fde1 Added a (partial) default key binding table to wmii(1) 2006-06-28 15:34:24 -04:00
Kris Maglione
c65dc4ac21 Added a (partial) default keymap table to wmii(1) 2006-06-28 15:29:24 -04:00
Kris Maglione
cb3a2c7663 Added a disclaimer to wmiiwm(1) that the information is obselete at blitz_'s suggestion 2006-06-28 12:08:56 -04:00
Anselm R. Garbe
eb050a2f34 removed charof from blitz interface, added notification functions for bpress, brelease and bmotion instead which return True on expose 2006-06-28 08:30:49 +02:00
Kris Maglione
ad9d50b3a8 Restore frame_of_win; remove wmiiwm's -c option 2006-06-28 02:20:17 -04:00
Kris Maglione
23a10f4541 Removed a bunch of unused functions 2006-06-27 22:16:14 -04:00
Kris Maglione
ab2ff71e8f Minor fixes to label sizing/alignment in liblitz (this really needs a brush->padding) 2006-06-27 20:59:09 -04:00
Kris Maglione
4113e8eb5c *really* exec wmiiwm at the end of the startup script 2006-06-27 20:44:32 -04:00
Kris Maglione
d76c845a09 Fix linking with gmake 2006-06-27 20:32:59 -04:00
Kris Maglione
a215076fb4 Fix minor typo in last commit 2006-06-27 20:23:34 -04:00
Kris Maglione
b5ae71f549 Removed -lX11 from wmiir and wmiisetsid. Remove wmiiwm -c from which wmii and exec wmiiwm at end. 2006-06-27 20:21:01 -04:00
salva
98e6c4cc50 corrected calculation of result, to fix segfault with floating clients 2006-06-28 01:45:31 +00:00
Kris Maglione
e67dfd1201 Hard code the path of welcome in the startup script 2006-06-27 07:46:33 -04:00
Kris Maglione
eff67dbcf6 Removed call to getlogin() 2006-06-27 06:54:21 -04:00
Kris Maglione
7169bac85c Redraw the bar on removal or bars 2006-06-27 05:58:40 -04:00
Kris Maglione
1c637379ea Yet another bug in last commit; removed the & from wmiiwm exec line 2006-06-27 05:53:15 -04:00
Kris Maglione
c59d7a7690 Readded mkdir to startup script (was accidentally removed in last commit) 2006-06-27 05:48:00 -04:00
Kris Maglione
c7f08a58cd Moved permissions checking code and wmiirc execution into wmiiwm 2006-06-27 05:44:54 -04:00
Kris Maglione
8bbd3e810c Removed other unused prototypes plus some other small fixes 2006-06-27 03:14:10 -04:00
Anselm R. Garbe
2869e6429f removed destroy_frame signature from frame.h 2006-06-27 08:19:05 +02:00
Kris Maglione
3cb086a412 Improved the bar sizing algorithm... not quite perfect yet, though 2006-06-26 22:21:09 -04:00
Kris Maglione
d4d4b77003 Allow opening files with OTRUNC set 2006-06-26 18:37:33 -04:00
Kris Maglione
f1c1f7fc44 Move invisible clients on max mode columns off screen 2006-06-26 17:59:32 -04:00
Kris Maglione
da55fea9fd Don't arrange_column if the column is floating 2006-06-26 17:35:12 -04:00
Kris Maglione
887fd1ead8 Fixed possible sel==nil on destroy_view 2006-06-26 17:09:35 -04:00
Kris Maglione
9c275f439d Set sel on view creation if it's nil 2006-06-26 16:03:17 -04:00
Kris Maglione
c422de344e Fix column drawing on mode switch and in stacking mode (forgot to commit yesterday) 2006-06-26 15:45:59 -04:00
Kris Maglione
edae9ff3ee Added size revert handling between floating/managed mode. Fixed term sizing bug (I think) 2006-06-25 22:18:00 -04:00
Kris Maglione
6c8280846a Fixed order of function declarations broken in last commit 2006-06-25 09:28:29 -04:00
Kris Maglione
76be3694d0 Restructured tag/view/frame handling 2006-06-25 09:16:03 -04:00
Kris Maglione
d1428091e2 Replaced the security check from the last commit. Moved the proglist to $WMII_NS_DIR and got rid of mktemp. 2006-06-24 06:45:27 -04:00
Kris Maglione
76202dcf48 Minor correction to my last commit 2006-06-24 05:21:41 -04:00
Kris Maglione
5af82396c4 Replaced OLDPATH; applied Armando Di Cian's permissions patch to startup script; minor changes elsewhere 2006-06-24 05:15:41 -04:00
Kris Maglione
01290a7bdd Added an explicit floating member to Areas 2006-06-23 21:22:04 -04:00
Kris Maglione
489a00c835 Replaced write_event with a va_arg printf-like version 2006-06-23 20:26:24 -04:00
Kris Maglione
a979c86bb2 Fix generation of extra FocusTag events on view change. 2006-06-23 19:39:00 -04:00
Kris Maglione
460e21c9c0 Fixed my last broken commit 2006-06-23 19:16:31 -04:00
Kris Maglione
21a0cc12d7 Removed a braindamaged realloc/strcat 2006-06-23 19:11:21 -04:00
Kris Maglione
906f5fb079 merge 2006-06-23 17:40:04 -04:00
Kris Maglione
f6dee3c0a0 Added size information to certain files so inferno can append them 2006-06-23 17:38:29 -04:00
Anselm R. Garbe
6ec8896f49 added BlitzBrush->border to allow defining borderless background drawing 2006-06-23 11:34:10 +02:00
Anselm R. Garbe
993611c95d using a global pixmap now 2006-06-23 10:47:07 +02:00
Kris Maglione
9ada8edddc Fixed drawing of the bar background. Fixed use of wmiir create in line with prev. commit. 2006-06-23 03:44:59 -04:00
Kris Maglione
2f7674d31a Fixed my last commit 2006-06-23 02:52:03 -04:00
Kris Maglione
94226889e9 Minor fix in bar alignment. Replaced test tags with def.testtags in /ctl (please don't commit broken code). Centered text horizonatlly in tag box. 2006-06-23 02:12:01 -04:00
Kris Maglione
bf4baf24dc Prevent clients from automatically floating on startup after a floating window is mapped. 2006-06-23 01:43:28 -04:00
Kris Maglione
20955d76c6 Write tags to _WIN_TAGS property to make restarts less painful. Change *BarClick args order (bar names can have spaces) 2006-06-23 00:37:59 -04:00
Kris Maglione
ffc6aa63ba Made 'wmiir create' also write whatever's available on stdin to the already open fid 2006-06-22 22:53:54 -04:00
Kris Maglione
fed849e2fc Moved some defs and structs that might conflict with others to the P9 namespace 2006-06-22 20:47:32 -04:00
Kris Maglione
c237f242a5 Replaced DM flags enum with defines for ANSI range compliance 2006-06-22 20:21:24 -04:00
Anselm R. Garbe
976ab95325 flicker prevention fix 2006-06-22 15:29:13 +02:00
Anselm R. Garbe
e8178048af flicker prevention through screen-sized offscreen pixmap 2006-06-22 15:25:59 +02:00
Anselm R. Garbe
e57867eddd hacked basic selection/cursor setting algorithm for tagbars (this is still proof of concept) 2006-06-22 14:56:21 +02:00
Anselm R. Garbe
05c58a0de4 implemented cursor setting algorithm for tagbars 2006-06-22 14:26:55 +02:00
Anselm R. Garbe
19148d825e implemented cursor rendering as well (now it has to be filled with life) 2006-06-22 13:22:02 +02:00
Anselm R. Garbe
7b54e864b6 implemented drawing selected text in an input widget 2006-06-22 13:00:37 +02:00
Anselm R. Garbe
948f228c61 drawing label now with new drawing algorithm for input widgets (box based) 2006-06-22 12:42:27 +02:00
Anselm R. Garbe
8ad66e8f67 renamed blitz_draw_input into blitz_draw_label, now implementing blitz_draw_input 2006-06-22 12:00:18 +02:00
Anselm R. Garbe
ff0f239614 simplified BlitzBrush once again 2006-06-22 11:46:39 +02:00
Anselm R. Garbe
92b0faadc2 removed ~200 LOC due to liblitz simplification 2006-06-22 11:03:42 +02:00
Kris Maglione
f00cbec38e Fixed possible segfault on select up/down in an empty view 2006-06-22 04:07:19 -04:00
Kris Maglione
3b8f3334d0 Replaced init_x_event_handlers() with an initializer 2006-06-22 03:47:54 -04:00
Kris Maglione
7d74df656f Changed bar->bar to bar->widget 2006-06-22 03:38:42 -04:00
Kris Maglione
50bed8e056 Removed some noise. 2006-06-22 03:28:39 -04:00
Kris Maglione
ebbfd75386 Made fs_create return an open descriptor in fs.c 2006-06-22 02:52:45 -04:00
Kris Maglione
c8c0e66ade Added proper permissions checking to fs_open 2006-06-22 02:36:13 -04:00
Kris Maglione
ec4dc189f4 Added LeftBarClick and RightBarClick events. Fixed bar initialization (this is ugly) 2006-06-21 17:12:02 -04:00
Kris Maglione
67fa1319d2 Removed /border and asprintf 2006-06-21 14:36:48 -04:00
Kris Maglione
fc19cdae55 Fix a crash when bad data is written to /ctl 2006-06-21 14:21:15 -04:00
Anselm R. Garbe
ec1db9e2df I think of only a BlitzBrush structure in the future, instead of all this crappy Widget/Color/Font stuff... 2006-06-21 17:28:33 +02:00
Kris Maglione
9322b3cfd4 Grabmod can now be more than one key (don't count on this staying yet) 2006-06-20 22:52:40 -04:00
Kris Maglione
4930cf53c7 Added view to the output of /ctl 2006-06-20 22:32:14 -04:00
Kris Maglione
c15122d84c Added reading of /ctl too 2006-06-20 22:27:19 -04:00
Kris Maglione
6965c4aede Replaced font, selcolors, normcolors, and grabmod with commands in /ctl 2006-06-20 22:06:02 -04:00
Kris Maglione
225aee7072 Fixed memory leak on destroying clients 2006-06-20 20:40:34 -04:00
Kris Maglione
eb1652d7a9 Initialize main()'s BlitzFont font to 0 to prevent segfault 2006-06-20 20:22:23 -04:00
Kris Maglione
6ca06ed97a Temporarilly re-added fs support for colmodes 2006-06-20 19:43:20 -04:00
Anselm R. Garbe
4f833eb4e4 removed obsolete stuff from liblitz 2006-06-20 15:47:08 +02:00
Anselm R. Garbe
03ea172fa4 widgetized bar labels, next is wmiimenu, then I can remove the outstanding crap from liblitz, afterwards I can enable the editable bars (read-only in first step) 2006-06-20 15:37:50 +02:00
Anselm R. Garbe
9eac7936bd s/draw_clients/draw_frames/, eliminated some compiler warnings (signedness warnings) 2006-06-20 14:32:19 +02:00
Kris Maglione
fd29525e4a ctl file perms |= 0400 2006-06-20 06:17:03 -04:00
Kris Maglione
7927c686d6 Removed /client/sel/index and /tag/sel/name; replaced with reading ctl 2006-06-20 06:12:49 -04:00
Kris Maglione
50af165f42 Fixed toggling between float/managed areas 2006-06-20 05:34:11 -04:00
Kris Maglione
67886d29ec Another slight fs.c shuffle to fix lack of prototype 2006-06-20 02:45:32 -04:00
Kris Maglione
becba883e5 Some rearranging of fs.c 2006-06-20 01:40:07 -04:00
Kris Maglione
3857b44689 Implement reading of bars 2006-06-20 00:35:50 -04:00
Kris Maglione
c3fbf87624 Bunch of fixes; don't remember, read the diff. Thanks to ality for the fix in wmiirc 2006-06-19 23:58:20 -04:00
Kris Maglione
4a579d62bc Add /tag/sel/name; make sure all tags have bars at wmiirc startup 2006-06-19 22:40:45 -04:00
Kris Maglione
05856824c1 Fixed event queueing, added drawing of rbar 2006-06-19 22:13:29 -04:00
Kris Maglione
68e5ceae90 Made lbar functional 2006-06-19 18:25:49 -04:00
Anselm R. Garbe
71b81b54ff removed update_widgets/resize_frame calls from draw_frame (only done when necessary now) 2006-06-19 18:35:51 +02:00
Anselm R. Garbe
529a035b51 remove BlitzDraw from draw_client, using 4 BlitzWidget's instead (in frame), renamed draw_client into draw_frame 2006-06-19 18:26:06 +02:00
Anselm R. Garbe
8b8b9ada47 implemented select command for /tag/X/ctl 2006-06-19 16:05:02 +02:00
Anselm R. Garbe
3078597d0a fixed send command 2006-06-19 15:49:11 +02:00
Anselm R. Garbe
61e4d38f66 implemented horizontal selection 2006-06-19 13:18:09 +02:00
Anselm R. Garbe
b5c72baed6 moved fs2.c to fs.c (if you need fs.c for reference, use hg update <changeset before this> 2006-06-19 10:58:08 +02:00
Anselm R. Garbe
0370f0e2d7 eliminated a bunch of casting warnings 2006-06-19 10:50:55 +02:00
Anselm R. Garbe
b32c8893c0 changed signature of message_view, message_* functions should return an errstr instead of an int 2006-06-19 10:38:21 +02:00
Anselm R. Garbe
a94fc7cf54 added string definitions to BlitzColor and BlitzFont, removed cmd/wm/wm.h:struct Color 2006-06-19 10:28:37 +02:00
Anselm R. Garbe
8bbeb9a970 adapted wmiirc stuff to work with current fs, however most commands don't work atm, because message_client() is missing/or not finished yet, and because message_view() is broken 2006-06-19 09:57:16 +02:00
Kris Maglione
e9ce32ed93 Fixed buffer overflow vulnerabilities in ixp_unpack functions 2006-06-18 21:23:17 -04:00
Kris Maglione
19cf5edacd Fix the ctl interface from prev commit; fix several off-by-one errors. 2006-06-18 19:04:16 -04:00
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