Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92be9fb
)
Add another check before attempting to use RandR.
author
Reginald Kennedy
<rk@rejii.com>
Fri, 27 Jul 2012 02:56:38 +0000
(10:56 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 27 Jul 2012 02:56:38 +0000
(10:56 +0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
0379156
..
4c5974b
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-1992,8
+1992,9
@@
bar_setup(struct swm_region *r)
xcb_create_pixmap(conn, screen->root_depth, r->bar->buffer, r->bar->id,
WIDTH(r->bar), HEIGHT(r->bar));
- xcb_randr_select_input(conn, r->bar->id,
- XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE);
+ if (xrandr_support)
+ xcb_randr_select_input(conn, r->bar->id,
+ XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE);
if (bar_enabled)
map_window_raised(r->bar->id);