Index: uspace/app/gfxdemo/gfxdemo.c
===================================================================
--- uspace/app/gfxdemo/gfxdemo.c	(revision d18f3b796e5ff97a8574710b483a29fd38903a3c)
+++ uspace/app/gfxdemo/gfxdemo.c	(revision 1822545095edd9f4723bf932de051361380e1215)
@@ -54,5 +54,5 @@
  * @param h Height
  */
-static errno_t demo_rects(gfx_context_t *gc, int w, int h)
+static errno_t demo_rects(gfx_context_t *gc, gfx_coord_t w, gfx_coord_t h)
 {
 	gfx_color_t *color = NULL;
@@ -96,5 +96,5 @@
  * @param h Height
  */
-static errno_t demo_bitmap(gfx_context_t *gc, int w, int h)
+static errno_t demo_bitmap(gfx_context_t *gc, gfx_coord_t w, gfx_coord_t h)
 {
 	gfx_bitmap_t *bitmap;
@@ -160,5 +160,5 @@
  * @param h Height
  */
-static errno_t demo_loop(gfx_context_t *gc, int w, int h)
+static errno_t demo_loop(gfx_context_t *gc, gfx_coord_t w, gfx_coord_t h)
 {
 	errno_t rc;
@@ -215,5 +215,5 @@
 	surface_t *surface = NULL;
 	canvas_t *canvas = NULL;
-	int vw, vh;
+	gfx_coord_t vw, vh;
 	errno_t rc;
 
Index: uspace/lib/congfx/src/console.c
===================================================================
--- uspace/lib/congfx/src/console.c	(revision d18f3b796e5ff97a8574710b483a29fd38903a3c)
+++ uspace/lib/congfx/src/console.c	(revision 1822545095edd9f4723bf932de051361380e1215)
@@ -92,5 +92,5 @@
 	console_gc_t *cgc = (console_gc_t *) arg;
 	int rv;
-	int x, y;
+	gfx_coord_t x, y;
 
 	// XXX We should handle p0.x > p1.x and p0.y > p1.y
@@ -191,5 +191,5 @@
 	console_gc_t *cgc = (console_gc_t *) arg;
 	console_gc_bitmap_t *cbm = NULL;
-	int w, h;
+	gfx_coord_t w, h;
 	errno_t rc;
 
@@ -250,5 +250,5 @@
 {
 	console_gc_bitmap_t *cbm = (console_gc_bitmap_t *)bm;
-	int x, y;
+	gfx_coord_t x, y;
 	int rv;
 	pixel_t clr;
Index: uspace/lib/gfx/include/types/gfx/coord.h
===================================================================
--- uspace/lib/gfx/include/types/gfx/coord.h	(revision d18f3b796e5ff97a8574710b483a29fd38903a3c)
+++ uspace/lib/gfx/include/types/gfx/coord.h	(revision 1822545095edd9f4723bf932de051361380e1215)
@@ -40,7 +40,9 @@
 #include <stdint.h>
 
+typedef int gfx_coord_t;
+
 typedef struct {
-	int x;
-	int y;
+	gfx_coord_t x;
+	gfx_coord_t y;
 } gfx_coord2_t;
 
Index: uspace/lib/guigfx/src/canvas.c
===================================================================
--- uspace/lib/guigfx/src/canvas.c	(revision d18f3b796e5ff97a8574710b483a29fd38903a3c)
+++ uspace/lib/guigfx/src/canvas.c	(revision 1822545095edd9f4723bf932de051361380e1215)
@@ -95,5 +95,5 @@
 {
 	canvas_gc_t *cgc = (canvas_gc_t *) arg;
-	int x, y;
+	gfx_coord_t x, y;
 
 	// XXX We should handle p0.x > p1.x and p0.y > p1.y
@@ -188,5 +188,5 @@
 	canvas_gc_t *cgc = (canvas_gc_t *) arg;
 	canvas_gc_bitmap_t *cbm = NULL;
-	int w, h;
+	gfx_coord_t w, h;
 	errno_t rc;
 
Index: uspace/srv/hid/display/output.c
===================================================================
--- uspace/srv/hid/display/output.c	(revision d18f3b796e5ff97a8574710b483a29fd38903a3c)
+++ uspace/srv/hid/display/output.c	(revision 1822545095edd9f4723bf932de051361380e1215)
@@ -49,5 +49,5 @@
 	surface_t *surface = NULL;
 	canvas_t *canvas = NULL;
-	int vw, vh;
+	gfx_coord_t vw, vh;
 	errno_t rc;
 
