Winston Weinert
d9f3587a71
Wrap thrown string in std::runtime_error
vor 6 Jahren
Winston Weinert
71442ad080
Throw exceptions by value, catch by reference
This fixes bug #92 where exceptions are not being catch thrown by
cxxopts.
This is also standard practice :)
https://stackoverflow.com/a/2522311/2720026
vor 6 Jahren
naelstrof
d7c12dd5d7
fixed typo
vor 7 Jahren
naelstrof
93273d564f
changing the interface to support pure C
vor 7 Jahren
naelstrof
14b0909113
Finally fixed the dumb nvidia segfault on preload, also re-added GLEW as a dependency, pthreads is now required. Fixes #83 , #81 .
vor 7 Jahren
naelstrof
0b66444ad4
namespaced opengl, added unicode support, (fixes #80 )
vor 7 Jahren
naelstrof
ab41bb7d3c
slop now errors properly when a positional argument is supplied
vor 7 Jahren
naelstrof
3b19860795
Switched to using a POSIX compliant argument parser. This will break scripts! sorry
vor 7 Jahren
naelstrof
1aaadbb1f6
flushed out shader support
vor 7 Jahren
naelstrof
359b426b89
keep -n from consuming a parameter
vor 7 Jahren
naelstrof
e87468bacf
improved backward compatibility.
vor 7 Jahren
naelstrof
0c7f1eae07
added noopengl flag
vor 7 Jahren
naelstrof
4db2dbc6fe
improved namespace clashing
vor 7 Jahren
naelstrof
dfd9462608
swapped around options a bit again
vor 7 Jahren
naelstrof
eaea8ccab4
oops deleted cout debug thing
vor 7 Jahren
naelstrof
3721a5e3bf
changed around option flags to not conflict with maim
vor 7 Jahren
naelstrof
a4da810654
Added quiet option
vor 7 Jahren
naelstrof
03a2956e47
Now you can select the level of aggressiveness when removing window borders.
vor 7 Jahren
naelstrof
96de1eaa68
added cancellation parsing in format
vor 7 Jahren
naelstrof
f119dc80d7
default to an xgeometry compliant format
vor 7 Jahren
naelstrof
5fbbd48916
Now slop will just fallback to the xshape extension if opengl fails.
vor 7 Jahren
naelstrof
33adb69592
improved library-ness
vor 7 Jahren
naelstrof
d9ac7ad9ae
added a prototype legacy mode
vor 7 Jahren
naelstrof
1ad1b4e23a
Removed yet another dependency
vor 7 Jahren
naelstrof
5775c18e1c
slop no longer needs files installed to function, it can still load custom shaders from ~/.config/slop though
vor 7 Jahren
naelstrof
bf24bc367c
added version flag
vor 7 Jahren
naelstrof
e157484d65
added help printing
vor 7 Jahren
naelstrof
525b3746d4
added no decoration flag
vor 7 Jahren
naelstrof
e82299f97b
added copyright information to every file
vor 7 Jahren
naelstrof
4a7c5fe6fb
moved over wayland port
vor 7 Jahren
naelstrof
0d5a32bba4
Fixed another off-by-one bug, and a typo.
vor 9 Jahren
naelstrof
a8f1e5cd57
Fixed a bug where a single pixel isn't accounted for when selecting the entire screen. Upped version for previous changes
vor 9 Jahren
Brian Callahan
15e4b04535
These things are not needed if you're not compiling with OpenGL.
vor 9 Jahren
Dalton Nell
43b179df21
Removed a stray include.
vor 9 Jahren
Dalton Nell
3af00283a4
Added optional CMake flag CMAKE_OPENGL_SUPPORT to enable slop's OpenGL implementation.
vor 9 Jahren
Dalton Nell
437eccc73b
Added shader support
vor 9 Jahren
Dalton Nell
2200ce763a
Added basic textured themes.
vor 9 Jahren
Dalton Nell
7f3edc8df3
Added an experimental magnifying glass for --opengl only.
vor 9 Jahren
Dalton Nell
bf50639960
Added experimental OpenGL rendering. Use --opengl to activate it.
vor 9 Jahren
Dalton Nell
f6e72a937b
Fixed a case where slop couldn't grab the mouse due to the window manager already having it grabbed due to a key combination being pressed. Slop simply waits for the duration of --gracetime in order for the key combination to be released, thus freeing up the mouse.
vor 9 Jahren
Rafael Bodill
09109c7fc7
Workaround lack of clock_gettime in OSX
vor 9 Jahren
Dalton Nell
761a7c0d00
Slop now outputs the root window ID when no window is selected.
vor 10 Jahren
Dalton Nell
8a03f9a24c
Fixed slop from segfaulting.
vor 10 Jahren
Dalton Nell
09d2eb9de8
Added error message when the XShape extension isn't supported.
vor 10 Jahren
Dalton Nell
5a98bc1b57
Fixed bug where slop would ignore the environment variable DISPLAY.
vor 10 Jahren
naelstrof
77f5af15ac
Fixed Ubuntu having undefined references.
vor 10 Jahren
Dalton Nell
6285e519f0
Added ability to move starting points of selections with arrow keys, and made pressing enter accept the current selection rather than cancel it.
vor 10 Jahren
naelstrof
74d5bab587
Improved error handling
vor 10 Jahren
Dalton Nell
61cc45f913
Changed build system to cmake, made error handling more verbose, fixed many warnings, and added exception handling.
vor 10 Jahren
naelstrof
5cc203e18a
Added option --format, which lets you change the output format. Useful to manually parse variables, and to avoid using eval.
vor 10 Jahren