Commit Graph

2828 Commits

Author SHA1 Message Date
David du Colombier
e720b28418 fix clang warnings
This change fixes the following warnings:

cmd/wmii/div.c:80:6: warning: unsequenced modification and access to 'n'
cmd/wmii/message.c:231:7: warning: variable 'l' is used uninitialized whenever '&&' condition is false
cmd/wmii/message.c:240:7: warning: variable 'l' is used uninitialized whenever '&&' condition is false
2023-06-25 20:48:37 +02:00
David du Colombier
c55871eab5 fix warning
This change fixes the following warning:

cmd/wmii/bar.c:149:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘text’ will never be NULL
2023-06-25 20:44:07 +02:00
David du Colombier
455972bcd4 fix memset of struts in ewmh_getstrut 2023-06-25 20:40:52 +02:00
David du Colombier
ff120c7fee move from Travis CI to GitHub Actions 2022-04-04 22:15:59 +02:00
David du Colombier
3acb239918 fix build with GCC 10 and upper
GCC switched default from -fcommon to -fno-common,
leading to the following compilation errors:

multiple definition of `argv0'
multiple definition of `display'
multiple definition of `scr'
multiple definition of `font'
multiple definition of `cnorm'
multiple definition of `csel'
multiple definition of `debugflag'
multiple definition of `debugfile'
multiple definition of `cursor'
multiple definition of `framehandler'
multiple definition of `NM'
2021-10-15 22:12:16 +02:00
David du Colombier
2d098b667d fix warning
include/stuff/util.h:109:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
include/stuff/util.h:109:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
2021-10-15 22:07:48 +02:00
David du Colombier
c86f646bf0 update for new MIT license 2021-03-23 01:00:00 +01: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
David du Colombier
489c9e47f4 add libxinerama-dev and libxrandr-dev dependencies in Travis CI 2018-05-20 20:01:15 +02:00
David du Colombier
2a192aad12 rename README to README.md in Makefile
Fixes #1.
2018-05-19 23:04:43 +02:00
David du Colombier
a0b47f292b fix build on Ubuntu 12.04
On Ubuntu 12.04, the build was failing with the following error:

cc -o wmii9menu.out wmii9menu.o -g -ldl -L../../lib -L/usr/lib ../../lib/libstuff.a ../../lib/libregexp9.a ../../lib/libbio.a ../../lib/libfmt.a ../../lib/libutf.a /usr/local/lib/libixp.a -lXinerama -lXrender -lX11 -lXrandr
/usr/bin/ld: ../../lib/libstuff.a(xft.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so: could not read symbols: Invalid operation
2017-07-28 13:53:31 +02:00
David du Colombier
79b08e9409 add Coverity Scan to Travis CI 2017-07-28 13:35:42 +02:00
David du Colombier
a8c2f5a350 add build badges 2017-03-31 13:19:12 +02:00
David du Colombier
0291d502fe move README to README.md 2017-03-31 13:09:57 +02:00
David du Colombier
0cc10e4f02 add build badges 2017-03-31 12:43:31 +02:00
Andrew Shadura
56b3a14f57 Fix the patch in LD_PRELOAD for wihack 2013-12-09 17:43:36 +01:00
Kris Maglione
396331174f Rebuild wimenu.1 2014-08-02 15:22:00 -07:00
Andrew Shadura
f68672b108 Fix spelling in manpages. 2013-12-09 17:43:36 +01:00
Andrew Shadura
47fefbbc95 Fix Notice command. 2013-12-09 17:43:36 +01:00
Kris Maglione
4606648a38 Prevent .depends rules from interfering with default make target. 2014-06-04 00:17:57 -07:00
Kris Maglione
7e10227936 Keep regexp clients on the same screen when attaching to new view. 2014-06-03 22:03:01 -07:00
Kris Maglione
65ea0d29bd Treat cloned/subsumed screens as one. 2014-06-03 21:54:07 -07:00
Kris Maglione
7a083fffa2 Run wipescreens on Screenchange event in python/wmiirc. 2014-06-03 21:41:40 -07:00
Kris Maglione
902328e77d Add command to cleanup old screens after monitor disconnect. 2014-06-03 21:38:41 -07:00
Kris Maglione
828889fd98 Work around focus drawing issue in newer Xorg versions. 2014-06-03 19:58:58 -07:00
Kris Maglione
8cc2df7ab8 Suppress duplicate ScreenChange events. 2012-04-13 22:37:30 -04:00
Kris Maglione
abc4b2e285 Add ScreenChange event. 2012-04-08 14:07:38 -04:00
Kris Maglione
e8d9e73d15 Fix witray corner case. Closes issue #246. 2011-10-20 05:29:03 -04:00
Kris Maglione
9ad3690ed9 Move pkg-config libs after other LDFLAGS. Closes issue #245. 2011-10-20 04:55:58 -04:00
Kris Maglione
5a4f28cb58 Add doc/mkfile for building wmii.pdf with an optional MAINFONT variable for building on systems without LinoType's Palatino font. 2011-09-27 02:13:58 -04:00
Suraj N. Kurapati
dbee2c0097 remove nonexistent "bar off" command from manual 2011-09-23 20:35:20 -07:00
Kris Maglione
6e288e6611 [tray] Add a horrible workaround for broken Qt systray icon implementation. Closes issue #228. 2011-09-20 02:49:06 -04:00
Kris Maglione
0a694fe4ea [wmiir] Flush conversion buffer on short read. Closes issue #235. 2011-09-19 23:45:42 -04:00
Kris Maglione
6594959ce8 Deal with a particular Qt systray replacement bug. Cleanup a bit more politely on sigterm/sigint. 2011-09-19 22:06:50 -04:00
Kris Maglione
7eb2bef1bd Add -n flag to witray to opt out of replacing existing systray. 2011-09-19 20:24:32 -04:00
Kris Maglione
67cb8d196e Remove some dead code. 2011-09-19 16:49:52 -04:00
Kris Maglione
fab45e323f Fix compositing issue per DRDarkRaven. Closes issue #226. 2011-09-19 16:39:16 -04:00
Kris Maglione
0658d3fc2e Remove broken support for local_events. Closes issue #229. 2011-09-19 16:34:03 -04:00
Kris Maglione
ecaa8861c1 Closes issue #222. 2011-09-19 16:25:11 -04:00
Andrew Shadoura
d40f0a0c10 Fix XRandR segfault issue. Closes issue #231. 2011-05-31 05:25:14 +00:00
Kris Maglione
e4ecfe1cb0 Merge. 2011-09-17 17:58:32 -04:00
Juan Pablo Aroztegi
594b9f508d Fixes issue #242 2011-09-17 23:37:16 +02:00
Kris Maglione
678979319c Allow Mod+Mouse3 to resize windows and columns unidirectionally. 2011-09-15 14:07:51 -04:00
Kris Maglione
57dbe8eb38 Don't collapse dock/menu/toolbar windows in float+stack mode. 2011-09-15 13:35:37 -04:00
Kris Maglione
ff821dd113 Take into account bar and struts when placing floats. Closes issue #283. 2011-09-15 13:29:41 -04:00
Kris Maglione
708db8d88c Allow changing screen boundaries with Mod+Mouse3. 2011-09-15 13:22:17 -04:00
Kris Maglione
68673eb2b9 Fix focus issue after restart. 2011-09-15 12:38:16 -04:00
Kris Maglione
f7f15fa7a7 More robust view urgency tracking. Closes issue #241. 2011-09-14 18:21:18 -04:00
Kris Maglione
b340936d27 Fix compiler warnings. 2011-09-14 17:45:29 -04:00
Kris Maglione
0d268397c5 Add Control-k support to wimenu. 2011-09-03 07:49:40 -04:00