Commit Graph

22 Commits

Author SHA1 Message Date
David du Colombier d3b212ad29 lib/libstuff/x11/colors: fix initialization of CTuple in loadcolor
This error was reported by Valgrind:

==237870== Conditional jump or move depends on uninitialised value(s)
==237870==    at 0x484AF0E: bcmp (vg_replace_strmem.c:1221)
==237870==    by 0x40C9DB: update_imgs (div.c:117)
==237870==    by 0x40CB4C: div_update_all (div.c:138)
==237870==    by 0x420A0F: view_arrange (view.c:611)
==237870==    by 0x41F88C: view_update (view.c:337)
==237870==    by 0x418B59: message_root (message.c:686)
==237870==    by 0x42474D: ixp_srv_writectl (srv_util.c:232)
==237870==    by 0x41322E: fs_write (fs.c:513)
==237870==    by 0x423462: handlereq (request.c:321)
==237870==    by 0x422BFF: handlefcall (request.c:146)
==237870==    by 0x4240E8: handle_conns (server.c:118)
==237870==    by 0x42424C: ixp_serverloop (server.c:169)
2023-09-30 22:32:17 +02:00
David du Colombier d1acb57db2 fix warnings
This change fixes the following warnings:

lib/libstuff/x11/keys/parsekey.c:73:2: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
cmd/strut/ewmh.c:23:27: warning: ‘sizeof’ on array function parameter ‘struts’ will return size of ‘Rectangle *’ {aka ‘struct Rectangle *’} [-Wsizeof-array-argument]
cmd/wmii/key.c:109:3: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
cmd/wmii/dat.h:108:7: warning: comparison of constant ‘2’ with boolean expression is always false [-Wbool-compare]
2019-09-30 22:03:43 +02:00
Kris Maglione 089bf7bba7 [wimenu] Add paste key binding. 2010-10-07 16:31:42 -04:00
Kris Maglione ed809b8471 [menu] Add vertical mode. 2010-10-07 16:31:41 -04:00
Kris Maglione bd9f907d88 [menu] Allow composed input. 2010-07-31 19:11:45 -04:00
Kris Maglione 63d4079b8a Allow alpha colors in the bar. 2010-07-19 09:30:52 -04:00
Kris Maglione 2177aed027 Make sure a window has a visual before dereferencing it. Fixes issue #195. 2010-06-21 10:29:51 -04:00
Kris Maglione 262778dccc Fix some RGBA color bugs. 2010-06-20 15:59:27 -04:00
Kris Maglione 683b3ed895 Handle colormapped displays. 2010-06-20 14:24:04 -04:00
Kris Maglione a33719f9d4 Allow colors to be specified in any form recognized by X, including rgba. 2010-06-18 10:57:42 -04:00
Kris Maglione 398533dfd1 Rearrange some things. 2010-06-14 10:30:23 -04:00
Kris Maglione e5e4ff284d Fix last commit. 2010-06-11 23:48:29 -04:00
Kris Maglione ec26a17464 Fix some tedious client unmap bugs. 2010-06-04 20:37:05 -04:00
Kris Maglione fd930e89a6 Revamp color handling. Fixes issue #188. 2010-06-04 19:38:35 -04:00
Kris Maglione fb1d7443a1 Fix randomly reverted files. 2010-06-02 01:30:44 -04:00
Kris Maglione e5e64f3eb4 [witray] Add partial DND proxy. 2010-06-01 20:09:25 -04:00
Kris Maglione 185fdef6f3 Send synthetic unmap events to affected windows, whatever their destination. This needs testing. (Fixes issue #184) 2010-05-28 15:51:00 -04:00
Kris Maglione f36c830a49 Fix some bugs. 2010-05-27 22:10:14 -04:00
Kris Maglione 0a97e9f542 Don't call getpid() for every window creation. 2010-05-27 17:37:50 -04:00
Kris Maglione 88f0721673 Add witray system tray program. 2010-05-27 03:58:02 -04:00
Kris Maglione e3fdbdb548 Improve wistrut and build it by default. Add wistrut and wihack man pages. 2010-05-24 15:17:09 -04:00
Kris Maglione ae3c20b7ae Cleanup the top directory a bit. sed -i 's/\$\{([^{]+)\}/$(\1)/g' **/Makefile **/*.mk 2010-05-22 20:55:16 -04:00