From cb1200373e4747bb6168e2f1c6710b497d7b0bc4 Mon Sep 17 00:00:00 2001 From: EricDWertz Date: Wed, 13 Jul 2016 22:46:51 -0400 Subject: [PATCH] committing stuff --- .eric_window.h.swp | Bin 16384 -> 0 bytes .main.c.swp | Bin 12288 -> 12288 bytes ericwindow-test | Bin 13584 -> 16144 bytes main.c | 13 +++++++++++-- 4 files changed, 11 insertions(+), 2 deletions(-) delete mode 100644 .eric_window.h.swp diff --git a/.eric_window.h.swp b/.eric_window.h.swp deleted file mode 100644 index 01c892b10c1d365e4de068fe256434d07e58d64e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeI2Uu+yl9ml5$6ijKLiG4J0T?2-2!=g_k0D1St}4RI2({0)Z;ZJ3K_?`5w9>|^}l`sWy~PcnA=&^I>Ux$845Sz$~hL5E)7>Y{j_NP99K z>>2ebia6KAf35bMN)&f`>c$xckrxl^-96LWK&yaN;5HS=Dg=D+bFR1W9=`TqaL zCm4Gdya=v=Ux6QkAA#?J0eBpI6+8+~fCW$op8|)$J>URf;GIK^T?f~|GvEo(0_VYd zcQbYaTnEpB$H7r>Ke!LP{c*ltj zzX30SpM&SXPr*;XN$?Q3AAB18V}`L;z@Nb{K^OSoOJET+z-u36>{ajr_yvf-o#4ht z82b}=23!SCgQvhr@DO0&y*nBEJNP5`1Nb4>1owisKg`%$;CXNjTmXMTzx)6^3%&w2 z0rgc1z7HzkReYTJ8TcOf4p;@p!C%p@Z-O_#5F7^gfP>%;pssH-jw=x|OCmlz#nhwk z^_;}ta-D&jq@v7^4QCg(+)mF=;w$<&UOA-;anit#+z{DCk?2UrbEP|(w9|DXUwEY&UvZX~R##6iEuSmI za4xxFCL9xsS8DwH#_DQ~&*LAJqKeTCL>tGI;*Dax(GFhbr8x2HeiZjb-TaoNK5j8; zt?N9Ijgxk|qVFO%Dz*?|tci}{WKklvd3mIYNog{@qUsrJ7h7hsuBad?b-&m8+D5Zj z+x@27yZtpr`ApZJ-py6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a25xD@bhC=j( a+r!UAEG}2S_8Hq+1wS}#mgC#G diff --git a/main.c b/main.c index 016342b..3dab451 100644 --- a/main.c +++ b/main.c @@ -19,16 +19,25 @@ GdkFilterReturn handle_x11_event( GdkXEvent *xevent, GdkEvent *event, gpointer d int main( int argc, char* argv[] ) { + int i; + gtk_init( &argc, &argv ); - eric_window* w = eric_window_create( 640, 480, "" ); + eric_window* w = eric_window_create( 1920, 40, "" ); + gtk_window_move( GTK_WINDOW( w->window ), 0, 1040 ); gtk_window_set_type_hint( GTK_WINDOW( w->window ), GDK_WINDOW_TYPE_HINT_DOCK ); gtk_widget_show_all( w->window ); Display* dpy = GDK_DISPLAY_XDISPLAY( gdk_display_get_default() ); Window xwin = RootWindow( dpy, DefaultScreen( dpy ) ); - XGrabKey( dpy, AnyKey, ControlMask, xwin, True, GrabModeAsync, GrabModeAsync ); + + //Grab number keys + for( i = 10; i <= 20; i++ ) + { + XGrabKey( dpy, i, Mod4Mask | Mod2Mask, xwin, True, GrabModeAsync, GrabModeAsync ); + XGrabKey( dpy, i, Mod4Mask, xwin, True, GrabModeAsync, GrabModeAsync ); + } gdk_window_add_filter( NULL, handle_x11_event, NULL ); -- 2.47.0