search for: xevent

Displaying 14 results from an estimated 14 matches for "xevent".

Did you mean: event
2007 Mar 10
0
[BUG] gtk-window-decorator and Xevents
If i remove Move action mask with winrules plugin, I can't raise a window by clicking on it. event_filter_func() receive an KeymapNotify instead of ButtonPress/ButtonRelease event. gtk-window-decorator bug? libwnck bug? gdk bug? No idea for now :( Cedric
2006 Oct 18
1
[PATCH] Compiz Events
...like this. -------------- next part -------------- diff --git a/include/compiz.h b/include/compiz.h index 61a9de5..a7eff50 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -568,6 +568,12 @@ typedef void (*FiniPluginForDisplayProc) typedef void (*HandleEventProc) (CompDisplay *display, XEvent *event); +typedef void (*HandleCompizEventProc) (CompDisplay *display, + char *pluginName, + char *eventName, + CompOption *option, + int nOption); + typedef Bool (*CallBackProc) (void *closure); typedef void (*ForEachWindo...
2013 Jun 19
2
Relative position between two windows
...ave when mapped. So that if I move or resize one of the window, the other if necessary automatically moves to observe the condition. I'm close with this code, let's see for example the case for window A: XSelectInput ( display, RootWindow ( display, 0 ), SubstructureNotifyMask ); > > XEvent event; > while ( true ) > { > XNextEvent ( display, & event ); > /* ... */ > if ( event.type == ConfigureNotify and event.xconfigure.window == > window_B ) > { > // new_x, new_y based on event.xconfigure.x, event.xconfigure.y, > etc... >...
2007 Jun 19
1
[PATCH] Added screen edge trigger delay setting.
...+1110,16 @@ findCursorAtDisplay (CompDisplay *display); /* event.c */ +typedef struct _CompDelayedEdgeSettings +{ + CompDisplay *d; + + unsigned int edge; + unsigned int state; + + CompOption option[7]; +} CompDelayedEdgeSettings; + void handleEvent (CompDisplay *display, XEvent *event); diff --git a/metadata/core.xml.in b/metadata/core.xml.in index 8424ab1..64d418a 100644 --- a/metadata/core.xml.in +++ b/metadata/core.xml.in @@ -44,6 +44,13 @@ <min>0</min> <max>10000</max> </option> + <option name="edge_delay&quot...
2013 Jun 19
0
Relative position between two windows
...ne of the window, the other if necessary > automatically > moves to observe the condition. I'm close with this code, let's see for > example > the case for window A: > > XSelectInput ( display, RootWindow ( display, 0 ), SubstructureNotifyMask >> ); >> >> XEvent event; >> while ( true ) >> { >> XNextEvent ( display, & event ); >> /* ... */ >> if ( event.type == ConfigureNotify and event.xconfigure.window == >> window_B ) >> { >> // new_x, new_y based on event.xconfigure.x, event.xc...
2011 May 14
3
Problems building wine 1.3.20 on Mac os x 10.6.7
...checking for -lXrender... libXrender.1.dylib checking for XRenderSetPictureTransform in -lXrender... yes checking for -lXrandr... libXrandr.2.dylib checking for -lXinerama... libXinerama.1.dylib checking for -lXcomposite... libXcomposite.1.dylib checking for XICCallback.callback... yes checking for XEvent.xcookie... no checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... libGL.1.dylib checking for -lGLU... libGLU.1.dylib checking audio/audiolib.h usability... no checking audio/audiolib.h presence... n...
2006 Nov 13
2
catch event when workspace is changing
Hi, how do you do that? In normal session, this is how you do it with python: import gtk import wnck def workspace_changed(screen): workspace = screen.get_active_workspace() print workspace.get_name() screen = wnck.screen_get_default() screen.connect("active_workspace_changed", workspace_changed) gtk.main() With compiz, that code does not work because compiz use only one
2003 Apr 10
1
Starcraft Patch
...10 Apr 2003 02:13:51 -0000 @@ -112,7 +112,7 @@ static int DGAKeyPressEventType; static int DGAKeyReleaseEventType; -static BOOL DGAUsed = FALSE; +BOOL DGAUsed = FALSE; static HWND DGAhwnd = 0; extern void X11DRV_DGAMotionEvent( HWND hwnd, XDGAMotionEvent *event ); @@ -133,18 +133,40 @@ XEvent event; int count = 0; + /* Added to make starcraft work */ +#ifdef HAVE_LIBXXF86DGA2 + Display *display = DGAUsed ? gdi_display : data->display; +#else + Display *display = data->display; +#endif + wine_tsx11_lock(); - while ( XPending( data->display ) ) + /* Cha...
2007 Mar 01
3
A couple of bugs...
...0xb7d28805 in NETRootInfo::event () from /usr/lib/libkdecore.so.4 #22 0xb7d39064 in KWinModulePrivate::x11Event () from /usr/lib/libkdecore.so.4 #23 0xb7e07183 in KApplication::x11EventFilter () from /usr/lib/libkdecore.so.4 #24 0x08053bbd in KWD::Decorator::x11EventFilter (this=0x806a1a0, xevent=0xbf979f28) at decorator.cpp:824 #25 0xb72ce133 in ?? () from /usr/lib/libqt-mt.so.3 #26 0x0806a1a0 in ?? () #27 0xbf979f28 in ?? () #28 0x00400000 in ?? () #29 0xb78808f0 in ?? () from /usr/lib/libqt-mt.so.3 #30 0xbf979f28 in ?? () #31 0xb78808f0 in ?? () from /usr/lib/libqt-mt.so.3 #32 0xbf979dc8...
2001 Feb 15
3
who frees dd and xd in X11_Open?
Hi, I'm not sure this is a bug in the code, the comment or my thinking. So first try goes to r-devel... I find the following comment in X11_Open () (src/unix/X11/devX11.c): /* if we have to bail out with "error", then must free(dd) and free(xd) */ A couple lines down, there is: if (!strncmp(dsp, "png::", 5)) { FILE *fp; #ifndef HAVE_PNG error("No png support
2008 Sep 17
1
[ANNOUNCE] compiz-0.7.8
...rrent viewport instead of changing to the viewport of the window. Don't focus default window if viewport change was initiated due to window activation. Call terminate function also for bindings without modifiers. Cleanup: pass button and key events directly (instead of generic XEvent) into action handlers. Fix warning. Do not set PPosition without filling out position information. Put switcher window to correct stack position on map. Only decrement pendingMaps variable when there are actually pending maps. Revert "Put switcher window to correc...
2015 Sep 02
0
[ANNOUNCE] xorg-server 1.17.99.901
...f format fixes for HWND type hw/xwin: printf format fixes for XID type hw/xwin: printf format fixes in winConfigKeyboard() hw/xwin: printf format fixes in winAllocatePrivates() hw/xwin: printf format fix in winCreateDefColormap() hw/xwin: printf format fix in winProcessXEventsTimeout() hw/xwin: printf format fixes in xevents.c hw/xwin: printf format fixes for DWORD type hw/xwin: printf format fixes for LONG type hw/xwin: printf format fixes for WPARAM and LPARAM types hw/xwin: printf format fixes for Pixel type debug output format fix...
2009 Jun 05
0
Wine release 1.1.23
...alling CreateStream on read only storage. ole32: Fix crash when calling CreateStorage on read only storage. ole32: Fix return code of DeleteStorage for read only storage. ole32: Don't ignore a failure to delete the old element in CreateStorage. winex11.drv: Don't use XEvents uninitialized when waits time out. Vitaliy Margolen (1): winecfg: Update WinXP version to SP3. Vitaly Perov (1): mpr: Don't set LastError if no error occured. Vladimir Pankratov (1): winedbg: Add Russian translation. Yuriy Kaminskiy (1): dsound: Fix segv on use-afte...
2017 Sep 22
3
gtk3 update causing havoc
On my lab systems, the automatic updates were failing because of the problems with ipod libraries from EPEL being in the way. It turns out that was a good thing, because when I "fixed" it, a massive set of packages was updated, including the new gtk3. These packages are the ones causing problems, I think. gtk3-3.22.10-4.el7.x86_64 gtk3-devel-3.22.10-4.el7.x86_64 In the release notes,