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