Commit Graph

1784 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 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 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
Andrew Shadura 56b3a14f57 Fix the patch in LD_PRELOAD for wihack 2013-12-09 17:43:36 +01: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 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 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 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
Kris Maglione a2f9088245 Add ViewAttach, ViewDetach, AreaAttach, and AreaDetach events. 2011-04-21 09:07:19 -04:00
Kris Maglione 82e93cb5f2 Take aspect hints into account in grow commands. 2010-10-28 09:55:54 -04:00
Kris Maglione 04c1693f8a Fix wmiirc problems in recent commits. 2010-10-13 17:33:02 -04:00
Kris Maglione 089bf7bba7 [wimenu] Add paste key binding. 2010-10-07 16:31:42 -04:00
Kris Maglione a6df122424 [menu] Update manual. Add file completion example. 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 8ca9f3ca3a [mq]: gethostbyname 2010-10-07 16:31:38 -04:00
Kris Maglione 675f117026 [wmiir] Use stat rater than lstat for proglist. Fixes issue #215. 2010-08-16 19:38:17 -04:00
Kris Maglione 96389a015e Fix wmiir proglist. 2010-08-12 20:10:13 -04:00
Kris Maglione bd9f907d88 [menu] Allow composed input. 2010-07-31 19:11:45 -04:00
Kris Maglione 26bd6db557 [menu] Fix numeric keypad input. Closes issue #213. 2010-07-31 16:20:51 -04:00
Kris Maglione 05053cb995 Don't allow extra content after colors ctl commands. 2010-07-27 14:45:42 -04:00
Kris Maglione 366420f459 Clear window tags on client_destroy. 2010-07-27 14:30:24 -04:00
Kris Maglione 3798957c3b Speedup build somewhat. 2010-07-27 14:28:04 -04:00
Kris Maglione 63d4079b8a Allow alpha colors in the bar. 2010-07-19 09:30:52 -04:00
Kris Maglione 7b1ed1981c Fix multiscreen focus coloring. 2010-07-19 09:29:12 -04:00
Kris Maglione 05e71d0715 Use RGBA windows only when required. Closes issue #203. 2010-07-09 19:59:40 -04:00
Kris Maglione 1ede2c9895 Deal with Java AWT rendering inanity. Closes issue #5. 2010-07-08 03:07:08 -04:00
Kris Maglione 6f6bce6a65 Fix possible error stack overflow in last commit. 2010-06-30 00:58:04 -04:00