From: Jonatan L. <th...@ho...> - 2005-05-09 18:50:12
|
On Mon, 9 May 2005 20:10:38 -0300 Jonatan Liljedahl <th...@ho...> wrote: > On Mon, 9 May 2005 14:09:48 +0200 > Guido Schimmels <__g...@we...> wrote: > > > On Thu, 5 May 2005 12:14:42 -0300 > > Jonatan Liljedahl <th...@ho...> wrote: > > > > > Also, window style (theme, scheme, font) is also only updated when > > > any event occurs, like moving the pointer in/out of the window! > > > So, if you click on a new window theme icon, nothing happens until > > > you move the pointer out/in. > > > > Hmm. In a previous reply I simply assumed you where right and > > > > g_main_context_wakeup(NULL); > > > > at the end of main::handlesignal() didn't do what I thought it would > > do. For me it does though. A short click on the theme appdir, > > instantly moving my fingers clear of any input devices to be sure > > not to trigger any further event, and the theme gets applied. > > Just tried here again to be sure, activating the theme appdir with > both the mouse and with the keyboard. The windows isn't updated before > I leave the window or enter another window with the pointer. I can see > the new theme for a very short moment on the "old" window when I enter > another one, so the update happens before focus is switched. I was running 0.9.6-13 patched from -11 with the patches you have sent to the list, but apparently there was more differences becouse I just downloaded the real -13 release and tried that - and the problem was gone. (but read below) But gone was also my change that ignores mouseclicks on unfocused (but focusable) windows, and also the buttons, so that one can click a window to focus/raise it without have the app interpret the click. (Patch attached.) First when I applied those changes, the bug I posted about above showed its ugly face again! I thought it was my patch that introduced the bug so I tried to remove it, but no - it was still there! Note that any event must occur for the theme update to take place, it also work to just click in the filerwindow where you activated the theme, or press a key on the keyboard. And maybe other non-human-input events? /Jonatan -=( http://kymatica.com )=- |