Commit graph

108 commits

Author SHA1 Message Date
Stanislav Seletskiy
05165a02f2 add xinerama support 2016-08-31 14:10:30 +07:00
Dave Davenport
ad53de507c Extra cleanup at exit. 2016-08-22 08:39:22 +02:00
Dave Davenport
df7468b491 Use XRandr to get monitor layout instead of xinerama.
* You can now specify monitor by name, or primary status.
2016-08-19 10:46:38 +02:00
Dave Davenport
26d1e64b22 Make textbox use character position instead of byte index for cursor. 2016-08-15 09:01:56 +02:00
Dave Davenport
026a8cbb34 Fix #438 look for a 8 bpc 32bit visual, fixes 10bpc 30bit screen 2016-08-07 13:26:28 +02:00
Dave Davenport
4be25abad7 Fix some doxygen warnings. 2016-07-29 08:32:34 +02:00
Dave Davenport
4af6976411 Fix piece of weird code to fetch background image. 2016-06-26 17:10:29 +02:00
Dave Davenport
5fb6ee1383 Fix rootwindow set at wrong pointer level. 2016-06-21 22:09:29 +02:00
Dave Davenport
bd412b9975 Grab mouse pointer with keyboard. 2016-05-09 08:47:28 +02:00
Dave Davenport
8f6c9ee070 Fix indenting 2016-05-08 11:13:11 +02:00
Georgios Bitzes
8af7f014cd Permit binding a modifier key on its own 2016-05-07 15:20:48 +02:00
Quentin Glidic
67b0ce036f keybindings: Implement on-release bindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:31:04 +02:00
Dave Davenport
8e05106c87 Add option to view background image instead of screenshot in fake transparency. Issue #390 2016-05-06 12:40:55 +02:00
Dave Davenport
09d1955338 Issue: #395 adding more options. 2016-04-29 21:42:31 +02:00
Dave Davenport
3918625804 Move teardown to the logic place again (possible with deamon mode removed) 2016-04-20 08:04:23 +02:00
Dave Davenport
e54e012500 Issue: #381: Try to handle X11 input and UTF-8 better.
In window_get_text_prop do conversion when input is of type STRING. (latin1) to utf8.
Dmenu: don't skip invalid lines, but try to display as much as possible.
Window mode: Double check all input from X.
2016-04-10 12:05:34 +02:00
Dave Davenport
3ac0c6dd7d Quick fix. 2016-03-21 20:27:16 +01:00
Quentin Glidic
6a84d29e02 x11-helper: Drop RControl/LControl from Control modifier mask
They are not used for that, and Control was a #define in X11 headers anyway.

Fixes #362

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-20 14:00:29 +01:00
Dave Davenport
d36ae81408 Fix positioning window on top of window. 2016-03-20 10:16:55 +01:00
Quentin Glidic
3a781d6fb9 x11-helper: Advertise the correct set of supported modifiers
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-17 12:10:50 +01:00
Dave Davenport
5d7bf1cfcf Issue 358 Set monitor width and height for monitor -3 mode. 2016-03-15 09:40:32 +01:00
Dave Davenport
b13bff6d1d Try to fix things 2016-03-05 23:25:46 +01:00
Dave Davenport
f4f2e3d129 Add option to position rofi at mouse 2016-03-05 23:01:16 +01:00
Dave Davenport
9978feb600 Make cppcheck happy 2016-03-05 20:07:25 +01:00
Dave Davenport
d99111c73b Remove deprecated theme system. 2016-03-05 18:28:39 +01:00
Dave Davenport
bfd338dfc8 Allow X parsed colors 2016-03-05 16:33:18 +01:00
Dave Davenport
7aa289d90c Fix color parsing 2016-03-05 16:25:17 +01:00
Dave Davenport
4c8375189c More cleanups 2016-03-05 12:06:14 +01:00
Dave Davenport
72dfe2ad4c Propagate error down, show dialog.
Fix positioning dialog.
2016-03-05 11:08:32 +01:00
Dave Davenport
881ca572df Return NULL when empty property. 2016-03-04 19:41:32 +01:00
Dave Davenport
fa7ceaf580 Check for the availability of the xinerama extension. 2016-03-04 17:03:24 +01:00
Dave Davenport
06d25c0ca2 Quit on error msg fail. 2016-03-03 08:21:28 +01:00
Dave Davenport
93b80be913 is active can be NULL, check 2016-03-03 08:09:36 +01:00
Dave Davenport
f0b1998703 Cleanups (cppcheck) 2016-03-02 18:07:59 +01:00
Dave Davenport
f05f0de583 Fix #348, give a warning when font failed to parse 2016-03-01 19:48:18 +01:00
Dave Davenport
8c950a984c Small cleanup 2016-03-01 18:33:26 +01:00
Dave Davenport
7d046a1f5b Pack magic externs into a xcb_stuff. 2016-03-01 18:11:55 +01:00
Dave Davenport
cc5db086bf Indenting 2016-02-28 18:22:00 +01:00
Dave Davenport
28ed4eab7b Take SardemFF7 advice on aliasing Ctrl+s and Ctrl+S, shift needs to mentioned explicit 2016-02-28 16:57:16 +01:00
Dave Davenport
21bce63e79 Do some filtering on the keybinding, to get the right keycombo for alt+shift+s. 2016-02-28 16:42:20 +01:00
Dave Davenport
a4fd907fe8 Run indenter 2016-02-28 15:32:53 +01:00
Dave Davenport
594bf00194 Fix keybindings and fix tests 2016-02-28 13:08:08 +01:00
Dave Davenport
ab57479da9 Remove Atom with xcb_atom_t. 2016-02-28 12:19:56 +01:00
Dave Davenport
c519b6a65a Fix free'ing of ewmh calls, remove old X codes 2016-02-28 11:57:52 +01:00
Dave Davenport
460cad8bc8 Fix grab keyboard to wait on success. 2016-02-28 10:36:13 +01:00
Dave Davenport
d813d03a5f Convert more stuff to xcb, keyboard grab, cleanup 2016-02-28 00:09:05 +01:00
Dave Davenport
4c661c3932 Move most of window modi to xcb 2016-02-27 22:55:47 +01:00
Dave Davenport
bb2f0d8b83 Move more to xcb, window_*_ functions to xcb_ functions 2016-02-27 21:55:43 +01:00
Dave Davenport
a02cb83a98 Move more to xcb. 2016-02-27 20:45:47 +01:00
Dave Davenport
305829fcc8 query pointer to xcb 2016-02-27 19:51:06 +01:00