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