Commit Graph

9 Commits

Author SHA1 Message Date
Sanel Zukan
901d0a6071 Code style update 2009-02-24 16:27:38 +00:00
Sanel Zukan
25119b834a Moving back an newer evoke 2009-02-19 08:12:29 +00:00
Sanel Zukan
d0498c453d Moving old evoke to branches 2009-02-19 08:10:30 +00:00
Sanel Zukan
e399841a6d a massive fix of FLTK headers inclusion; 2008-09-15 11:00:23 +00:00
Sanel Zukan
65492f45b7 Removed leftovers from sound stuff.
Replaced hardcoded values for screen sizes used by logout dialog with passed values.
Removed spawn_backtrace() function; not used any more.
Some code reordering
2008-09-08 11:09:37 +00:00
Sanel Zukan
7ff8841ea8 A lot of changes, especially the ways how screen is repainted (in composite).
Composite will now draw only damaged regions, and their damage is (now) correctly
reported, mostly due changes in main FLTK loop.

Also there are two ways how evoke will be running: if USE_FLTK_LOOP_EMULATION
is defined (default yes), it will fully emulate FLTK loop (as done before). Oposite 
way (without emulation) it will relay on FLTK message passing, but it is very unpredictable 
since FLTK will sometime miss SelectionClear events (XSETTINGS relay on it), probably due
large XDamageNotify throttling. When emulation is used, there are no such problems
since all events are processed before they are routed to FLTK.

In composite is added another way of repainting (when USE_CHECK is defined), and it will
relay on Fl::add_check() function; there are some differences between this function
and timer used for screen refresh. Timer will try to refresh it every XX ms and when
there are large number of XDamageNotify reports, this will not be suitable for 
movements smoothing on the screen; on other hand add_check() will call callback every
time when event is processed, which brings smooth movements. For now only timer is used
untill I finish compositing stuff.

Also composite will handle messages from it's own add_handler() since (somehow), all pending
XDamageNotify events will not be correctly reported inside EvokeService handler.

And about splash... splash will now keep it's window at the top, no matter what window is
raised. This is a small hack until I implement _NET_WM_WINDOW_TYPE_SPLASH in edewm (I don't
have to say that this hack works for all wm's I tested :P).

Sound from splash is removed; reason for this is when evoke starts childs (only when X session
was started), device descriptors will be used by childs too making sound device unusable and 
marked as busy. This can be solved by using better sound library, which is story for itself...
2008-01-14 12:50:30 +00:00
Sanel Zukan
df0031d9dd Startup make some noise :)
Crash dialog will cleanup generated data. Also will
check availability to write/read data it generates.
2007-09-03 12:24:01 +00:00
Sanel Zukan
70ff40b29a const removal 2007-08-22 13:35:41 +00:00
Sanel Zukan
df1dfbfc41 Work, work... 2007-07-30 13:25:13 +00:00