Tin
b9e7fa0574
Namespace mouse-events.cc/.h
...
Cleanup number namespaces so they use cstdint types instead of stdint.h
types. Latter could've caused some issues in the future.
Simplify valuator mask checking expression.
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:34 -05:00
Tin
4936c7492c
Provide a notice when build options get disabled
...
Reformat files and hope it invalidates CI cache :)
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin
916be9812b
Handle movement through XInput if enabled
...
Cleanup modifiers
- This is preparation so that once Wayland adds support for these
they're not an alien X11 bitset.
- Removed ones that aren't actual modifiers.
Tidy up code
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin
965d7dc0a4
Simplify cursor checking
...
Additional tweaks and docs improvements
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin
a4ac632db7
Fix X11 area enter & leave bug
...
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
François Revol
c781b42f66
X11: Fix segfault on SIGINT
...
deinit_x11() was called too late, and it seems some libs like xinerama
and xcb-render add cleanup hooks but forget to remove them when they get
unloaded.
2023-08-12 10:04:24 -04:00
bi4k8
4a7bec5ba6
Premultiply background colors for X11 ( #1421 )
...
* initialize XColor/XftColor
this does not change behavior, but avoids passing uninitialized data to X/Xft functions
* gui, x11: move have_argb_visual to x11 files
this variable only has meaning with respect to X11
* x11: clear have_argb_visual if the setting changes to false
otherwise, we may try to use colors with alpha when we no longer requested a 32-bit visual
* x11: premultiply alpha of background colors
* x11: clean up set_foreground_color a bit
---------
Co-authored-by: bi4k8 <bi4k8@github>
2023-02-24 08:13:48 -05:00
tranquillity-codes
4b8d5eb34a
Add an above-all overlay mode for own_window_type
, utility
( #1402 )
...
* Add libXdamage to flake.nix
* Add TYPE_UTILITY as above-all alternative to TYPE_OVERRIDE
* Click-through for TYPE_UTILITY
* Added libxfixes to MacOS CI workflow
* Disable building of XFIXES on MacOS
* Fix build for xinerama/xfixes on macos.
* Update Lua version check.
* Tidy this up.
* Fix BUILD_XFIXES on Linux
* Sigh, fix this.
---------
Co-authored-by: tranquillity-codes <dev@itycodes.org>
Co-authored-by: Brenden Matthews <brenden@brndn.io>
2023-02-16 22:03:14 -05:00
Brenden Matthews
c48df06359
Fix (some) wayland/x11 init ordering issues.
2022-12-26 13:21:40 -05:00
Brenden Matthews
76b0f049bc
Apply clang-format.
2022-12-24 09:44:03 -05:00
bi4k8
d11742ae18
build, colours, core, gui, wayland, wl, x11: implement wayland display backend
2022-12-24 09:42:01 -05:00
Brenden Matthews
308f2cb8ea
Update copyright, authors.
2021-02-27 09:14:19 -06:00
Monsterovich
3893146995
Added option to disable redraw on desktop change
2019-02-25 17:11:14 -05:00
lasers
7eec746b82
update copyright year to 2019
2019-01-05 11:15:36 -06:00
Brenden Matthews
45b4c80ec2
Fix compiler warnings.
2018-12-20 21:20:43 -05:00
lasers
a845a403be
doc/variables.xml: add undocumented lock keys
2018-09-04 11:08:26 -05:00
lasers
887786d746
doc/variables.xml: add undocumented variables
2018-08-31 08:23:19 -05:00
Mike Kazantsev
a4cb740508
conky.cc: add --xinerama-head command-line option ( #613 )
2018-08-16 18:40:34 -04:00
Nikolas Garofil
fb5ce3e626
Fix Sonarcloud complaints
2018-08-08 15:54:47 -04:00
Nikolas Garofil
5dd23796a6
Use unsigned int for p_max_size in obj_cb.print
2018-08-08 15:54:47 -04:00
su8
4155ac253b
Add new text objects to retrieve the currently used keyboard layout and mouse speed in percentage and generate random password of chosen length and get the cpu clock speed from assembly
2018-08-04 22:26:40 +02:00
su8
7bca0ca881
Fix issues #439 , #303 ( #545 )
...
* Fix issues https://github.com/brndnmtthws/conky/issues/439 , https://github.com/brndnmtthws/conky/issues/303
* core.cc: Add missing header file
* core.cc: Check if we build for x11 and add the locks functions
* read_tcpip.cc: Fix for https://github.com/brndnmtthws/conky/issues/306
* read_tcpip.cc: Missing string format specifier for "snprintf()"
* read_tcpip.cc: Wrong signed int format specifier for "snprintf()"
* Missing many string format specifiers to "snprintf()"
2018-08-02 11:15:16 -04:00
Brenden Matthews
4b92556fca
Build improvements: clang-tidy, sonar, Dockerfile. ( #488 )
2018-05-12 19:26:31 -04:00
Brenden Matthews
eebc8c653b
Add formatting/static analysis ( #486 )
...
* Reform source with clang-format.
Rules applied with:
$ find . -iname *.h -o -iname *.cc | xargs clang-format \
-style=file -i -fallback-style=google
* Add clang-format and analyze to build.
Based on the excellent work at: https://github.com/ttroy50/cmake-examples
* Clean up CMake stuff on macOS.
* Remove vim/emacs modelines.
* Update copyright dates.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
2018-05-12 12:03:00 -04:00
Brenden Matthews
ddef05d4eb
Update version, copyright.
2012-05-03 16:34:44 -07:00
Jim Duchek
bf7248ecd6
Fixed GCC 4.7.0 issues, double buffering
...
Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
2012-05-03 14:06:50 -07:00
Pavel Labath
0852aa4fcd
Merge remote branch 'origin/master' into lua-config
...
Conflicts:
src/ccurl_thread.cc
src/conky.cc
src/llua.cc
src/logging.h
src/nvidia.cc
2010-11-13 20:05:59 +01:00
Pavel Labath
c9334eb071
Make conky (more-or-less) functional again
2010-10-31 18:17:22 +01:00
Nikolas Garofil
89a8456495
Fix x11 check in cmake
2010-10-27 07:37:11 +02:00
Pavel Labath
5f60b5427e
Improve range_config_setting<>
...
now it catches negative values assigned to unsigned settings
2010-08-25 18:51:29 +02:00
Pavel Labath
feb4100e84
make double_buffer a lua setting
2010-04-23 21:54:40 +02:00
Pavel Labath
9e8bbdd4ef
Create a conky window when own_window is set
2010-04-23 21:25:09 +02:00
Pavel Labath
67e37668ec
make border_width a lua setting
2010-04-23 01:22:22 +02:00
Pavel Labath
96c966b7a6
Make border_{inner,outer}_margin a lua setting
2010-04-22 21:59:12 +02:00
Pavel Labath
927394505c
Make use_xft a lua setting
2010-04-21 19:33:39 +02:00
Pavel Labath
0584d423e6
make default_{shade_,outline_,}color lua settings
2010-03-11 12:08:55 +01:00
Pavel Labath
ac8d4385eb
Make colorN a lua setting
2010-03-11 11:31:10 +01:00
Pavel Labath
b1a871b9b9
reorder things a bit, make background_colour setting check the value for validity
2010-03-10 21:02:13 +01:00
Pavel Labath
c41a507e62
Initialize X when out_to_x is set (using the infractructure from previous commit)
2010-03-10 20:01:26 +01:00
Pavel Labath
fe9c0609cc
Make display a lua setting
2010-03-04 18:31:28 +01:00
Pavel Labath
4a4172c92d
Make own_window_hints a lua setting
2010-03-02 20:30:15 +01:00
Pavel Labath
41ddaf9e23
refactor settings classes
...
result: easier declaration of settings, easier construction of custom setting classes, commitcount++
2010-03-02 19:29:51 +01:00
Pavel Labath
a810804a6b
make own_window_colour a lua setting
2010-02-28 15:51:01 +01:00
Pavel Labath
a4a08c82b5
make own_window_argb_value a lua setting
2010-02-27 22:28:33 +01:00
Pavel Labath
4a5304b395
Make own_window_type a lua setting
2010-02-26 18:48:57 +01:00
Pavel Labath
518045eaf6
make own_window_transparent a lua setting
2010-02-26 18:38:15 +01:00
Pavel Labath
94be4f6eb9
make own_window_argb_visual a lua setting
2010-02-26 18:29:46 +01:00
Pavel Labath
1960a511fd
Make own_window_title a lua setting
2010-02-26 18:09:55 +01:00
Pavel Labath
fad11cabe1
make own_window_class a lua setting
2010-02-26 17:42:56 +01:00
Pavel Labath
efac83e814
make own_window a lua setting
2010-02-26 14:37:34 +01:00