Quentin Glidic
627bd43510
xcb: Ask for focus where possible
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-11-27 07:26:16 +01:00
Tim Gates
d27d7eb669
docs: fix simple typo, prefered -> preferred ( #1224 )
...
There is a small typo in source/xcb.c.
Should read `preferred` rather than `prefered`.
2020-11-15 00:14:02 +01:00
Dave Davenport
deb1e6a208
[RofiIconFetcher] Switch to gdk-pixbuf.
2020-10-20 20:38:13 +02:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Dave Davenport
b03edc5cf3
Update copyright dates.
2020-01-01 12:23:12 +01:00
Dave Davenport
aeecf34c27
[Window] Add thumbnail of windows as option.
2019-10-17 21:19:19 +02:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Michael Stapelberg
6bbbd08941
Fix RandR 1.5 check: use RANDR_PREF_MINOR_VERSION ( #918 )
...
XCB_RANDR_MAJOR_VERSION/XCB_RANDR_MINOR_VERSION are the maximum supported (in code) version.
Before this commit, the check verified that your libxcb did not support a newer RandR version than your running server.
After this commit, the check verifies the server’s RandR version is at least 1.5.
2019-02-21 16:03:34 +01:00
Dave Davenport
2f2abffb98
[CodeCY] More cleanup.
2019-02-02 12:07:36 +01:00
Dave Davenport
804f130d5b
[CodeCY] Cleanup some more warnings given by CodeCY.
2019-02-02 11:53:33 +01:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Dave Davenport
9909fb3d71
More documentation fixes
2018-06-12 14:11:08 +02:00
Dave Davenport
521843e9be
I749 ( #766 )
...
* [XCB] Use randr monitor API to get monitors.
Hopefully helps with issue #749 .
* Add check for randr header version
* Fix API version check, and check the version of the server.
* Add some comments to the code.
2018-02-07 16:06:16 +01:00
Quentin Glidic
5c5665efca
Revert "xcb: Add XKB_NEW_KEYBOARD_NOTIFY support"
...
This reverts commit e9532f584f
.
It should not matter for rofi, which is not meant to stay around long,
and it messes with XTST (that tools like xscape use).
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-01-18 17:09:09 +01:00
Quentin Glidic
101c4dcc26
bindings: Rework mouse bindings ( #745 )
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-12-26 10:10:40 +01:00
Quentin Glidic
e9532f584f
xcb: Add XKB_NEW_KEYBOARD_NOTIFY support
...
Should not matter much for us, but not hard to support anyway.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-12-18 17:51:59 +01:00
Dave Davenport
9cd1e3fac2
Indent
2017-11-07 20:04:07 +01:00
Dave Davenport
bfd8e25436
Merge remote-tracking branch 'origin/master' into next
2017-11-02 21:42:37 +01:00
ironyman
85ecaea49a
Fix -m -4 for xmonad ( #683 )
...
The problem is that xcb_translate_coordinates was being called to
translate the origin of the active_window (relative to active_window's
parent) from the coordinate space relative to active_window to the
coordinate space relative to root. The fix is to translate the origin of
the active_window (relative to active_window's parent) from the
coordinate space relative to active_window's parent to the coordinate
space relative to root.
2017-11-02 21:06:28 +01:00
Quentin Glidic
4e4e3917aa
gitmodules: Update libnkutils and libgwater
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-10-14 16:43:02 +02:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
852d80fee3
Change WMQuirk logic
...
- Default is switch to desktop then select window.
- 2 quirks:
- pango names.
- do not switch.
2017-09-17 21:40:36 +02:00
Dave Davenport
3c52f15140
Move more enums to rofi-types.h
2017-08-18 11:38:54 +02:00
Dave Davenport
7b57985203
Add wid:{window id} to monitor option.
...
- By specifying the window id, rofi will assume that window to be the
monitor (for placing.)
- syntax: wid:{monitor id}
Issue: #632
2017-07-12 12:27:45 +02:00
Dave Davenport
ef4a171fca
Put Xfwm4 on the WM list that needs extra desktop change.
...
Work-around that makes sure desktop gets switchs when setting active
window.
Fixes : #624
2017-07-05 21:30:29 +02:00
Quentin Glidic
8f8c43e50d
xcb: Support back some weird X11 feature
...
Namely, key redirects, that play with the modifiers state at the
KEY_PRESS level.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-22 08:35:21 +02:00
Dave Davenport
c851134411
[X11Helper] Add extra debug output when determining target monitor.
2017-06-14 08:26:53 +02:00
Dave Davenport
9a62bfd172
Run indenter.
2017-06-03 20:35:50 +02:00
Quentin Glidic
d88b1bd09b
xcb: Be sure not to leak xkb keymap/state
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 14:26:34 +02:00
Quentin Glidic
76a6e312fe
xcb: Add startup notification support
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:57:51 +02:00
Quentin Glidic
51d34b662e
helper: Add API to support startup notification
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:54:21 +02:00
Quentin Glidic
e576bc441c
xcb: Hide WM discover function
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:08:20 +02:00
Quentin Glidic
48a80e3f82
display: Introduce display.h
...
The API is meant to be neutral to fit any display backend.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:06:57 +02:00
Quentin Glidic
1d99363ce9
helper: Move cairo_image_surface_create_from_svg to helper.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:36:11 +02:00
Quentin Glidic
93cb04e30f
xcb: Move (most) event handling to xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:30:29 +02:00
Quentin Glidic
4792a16593
xcb: Hide release details
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:26:31 +02:00
Quentin Glidic
711d97b66d
xcb: Fix normal window mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 12:47:11 +02:00
Quentin Glidic
000dce1083
xcb: Hide grab details
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:57:57 +02:00
Quentin Glidic
f042851add
xcb: Hide some internal details
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:57:17 +02:00
Quentin Glidic
93cf26414e
xcb: Reorder and hide events callbacks
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:50:26 +02:00
Quentin Glidic
a8aac87bb0
xcb: Move GWater source in xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:44:21 +02:00
Quentin Glidic
9b58a9bc31
xcb: Move more stuff to xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:39:11 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00