summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-02-22 16:53:30 +0100
committerQuentin Glidic <sardemff7+git@sardemff7.net>2016-02-23 12:13:21 +0100
commitf39f5bb0cb1f296feae08152f2c30f2156c2aa58 (patch)
tree0f6578e36201ca3837d2c36595758970aa2ada6c /source
parent09e520dfe8e86f719c209374200e5470df7af58b (diff)
view-internal: Use XCB types
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'source')
-rw-r--r--source/view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/view.c b/source/view.c
index 460a2487..378999bf 100644
--- a/source/view.c
+++ b/source/view.c
@@ -77,7 +77,7 @@ Window main_window = None;
cairo_surface_t *surface = NULL;
cairo_surface_t *fake_bg = NULL;
cairo_t *draw = NULL;
-Colormap map = None;
+Colormap map = None;
XVisualInfo vinfo;
static char * get_matching_state ( void )
@@ -1307,8 +1307,8 @@ static void rofi_view_mainloop_iter ( RofiViewState *state, xcb_generic_event_t
switch ( xkb_compose_state_get_status ( xkb->compose.state ) )
{
case XKB_COMPOSE_CANCELLED:
- /* Eat the keysym that cancelled the compose sequence.
- * This is default behaviour with Xlib */
+ /* Eat the keysym that cancelled the compose sequence.
+ * This is default behaviour with Xlib */
case XKB_COMPOSE_COMPOSING:
key = XKB_KEY_NoSymbol;
break;