Mike Blumenkrantz
fcfdf2a6f6
apparently this was too hard to read for k-s ;)
...
SVN revision: 55742
2010-12-23 18:06:43 +00:00
Mike Blumenkrantz
74782f2e5c
fix explicit check to actually be the correct one, and use type instead of variable for sizeof
...
SVN revision: 55741
2010-12-23 17:50:48 +00:00
Mike Blumenkrantz
e2af5fd862
I am super tired this morning :/
...
SVN revision: 55740
2010-12-23 17:33:16 +00:00
Mike Blumenkrantz
7da2c81f01
fix sizeof use, thanks to kim woelders
...
SVN revision: 55739
2010-12-23 16:47:05 +00:00
Mike Blumenkrantz
2e4b8b9901
add explicit null check (for hahas?)
...
SVN revision: 55728
2010-12-23 00:41:19 +00:00
Mike Blumenkrantz
2e647df117
make this more portable in case the number of states changes in the future, also outdent and make function params more explicit
...
SVN revision: 55727
2010-12-23 00:36:53 +00:00
Mike Blumenkrantz
e82e4a3f2b
again with the tabs!!!!
...
SVN revision: 55726
2010-12-23 00:28:49 +00:00
Mike Blumenkrantz
d3bcd46f2b
avoid garbage deref
...
SVN revision: 55725
2010-12-23 00:24:16 +00:00
Mike Blumenkrantz
d9f8fbefd4
avoid using garbage values for z{x,y,w,h}; FIXME!!!
...
SVN revision: 55724
2010-12-22 23:36:46 +00:00
Mike Blumenkrantz
a8f324517f
I don't even know what to say about the formatting in this file except that it was terrible. ecrustified.
...
SVN revision: 55723
2010-12-22 23:32:42 +00:00
Mike Blumenkrantz
ecf3a65a09
move if{} block into another if{} block to avoid null deref
...
SVN revision: 55715
2010-12-22 23:05:47 +00:00
Mike Blumenkrantz
633de9d48d
avoid null deref
...
SVN revision: 55714
2010-12-22 23:05:14 +00:00
Mike Blumenkrantz
5ec802d8ba
again with the tabs! ecrustified!
...
SVN revision: 55713
2010-12-22 23:02:00 +00:00
Mike Blumenkrantz
bd9200c460
avoid two null derefs
...
SVN revision: 55712
2010-12-22 22:55:55 +00:00
Mike Blumenkrantz
f97f4f5d60
avoid null deref
...
SVN revision: 55711
2010-12-22 22:54:22 +00:00
Mike Blumenkrantz
7f55007159
avoid null deref
...
SVN revision: 55710
2010-12-22 22:53:30 +00:00
Mike Blumenkrantz
aa202802e4
just set to 0 instead of subtracting to 0
...
SVN revision: 55703
2010-12-22 22:39:53 +00:00
Mike Blumenkrantz
76b1e1805f
someone is using an editor that has tabs. stop it.
...
ecrustified.
SVN revision: 55702
2010-12-22 22:36:13 +00:00
Mike Blumenkrantz
d795ae2e34
hooray idempotence! no wait, not hooray.
...
SVN revision: 55699
2010-12-22 22:26:53 +00:00
Sebastian Dransfeld
2ca0ca709a
prevent recursive deletion
...
SVN revision: 55689
2010-12-21 09:42:31 +00:00
Sebastian Dransfeld
394e0868fa
copy theme to user dir
...
SVN revision: 55688
2010-12-21 09:42:19 +00:00
Sebastian Dransfeld
e9bfb04e12
copy backgrounds to e dir
...
SVN revision: 55686
2010-12-21 09:26:43 +00:00
Sebastian Dransfeld
4d602b28e9
Listen for icon theme changes
...
SVN revision: 55683
2010-12-21 08:42:30 +00:00
Mike Blumenkrantz
fc220557e7
comment out annoying debug printf
...
SVN revision: 55513
2010-12-12 15:39:41 +00:00
Sebastian Dransfeld
79534e3bdb
free right event handlers
...
SVN revision: 55402
2010-12-09 09:18:58 +00:00
Christopher Michael
1ebb13c4a8
Adjust min sizes of ilist and textblock so that Modules dialog fits
...
nicely into 240x320 (without these changes, the toolbar is partially
obscured by illume indicator).
SVN revision: 55132
2010-12-02 08:05:52 +00:00
Miculcy Brian
aee4aff7dc
Fix geometry for maximized windows when using shelfs on specified desktops.
...
SVN revision: 55081
2010-11-30 11:10:22 +00:00
Carsten Haitzler
1943305019
ok - always kepe black win. need for illume. just make 1x1 when not
...
used.
SVN revision: 55078
2010-11-30 09:21:23 +00:00
Gustavo Sverzut Barbieri
6f2213cb25
convert init/shutdown to EINTERN, move some to _update().
...
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.
Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.
SVN revision: 54795
2010-11-22 15:21:32 +00:00
Gustavo Sverzut Barbieri
c5642870c3
do not abuse _init(), provide _update() method instead.
...
SVN revision: 54794
2010-11-22 15:21:24 +00:00
Gustavo Sverzut Barbieri
d374b7ccb8
utility to query for fullscreen in current/all zones.
...
keeping local count of borders is too error prone, instead query
it. Right now the count is being done for the current zone only, I
guess this is the best policy.
SVN revision: 54793
2010-11-22 15:21:17 +00:00
Gustavo Sverzut Barbieri
07f4fc0cd3
desklock_init() should be called only once, poller does the job.
...
SVN revision: 54792
2010-11-22 15:21:06 +00:00
Carsten Haitzler
d484062996
1. only make zone black win+canvas if/when needed (btw - can still do
...
better and only create what is needed to surround the fullscreen
window if it cant be fullscren and needs a black border).
2. set bg color of root to black - e has its own bg anyway.
SVN revision: 54748
2010-11-20 16:18:58 +00:00
Christopher Michael
4b7b3742c8
Remove 'declared' function that was never defined.
...
SVN revision: 54558
2010-11-15 06:15:42 +00:00
Mike Blumenkrantz
f80e5cee0b
null pointer to fix resolution switching crash
...
SVN revision: 54526
2010-11-12 23:59:35 +00:00
Sebastian Dransfeld
32a8f5160d
Fix dnd working with reference coords.
...
SVN revision: 54383
2010-11-09 21:14:38 +00:00
Sebastian Dransfeld
0bae6927e5
After drop, we are no longer entered
...
SVN revision: 54382
2010-11-09 21:14:19 +00:00
Sebastian Dransfeld
139507ef51
event coords shoudl be reference coords
...
The receivers work in reference coords, so normalizing on the drop
handler is meaningless.
SVN revision: 54381
2010-11-09 21:13:56 +00:00
Sebastian Dransfeld
3d1a299e06
Let efreet icon return const
...
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.
A bit late to do an API break, but must be done.
SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld
2a048b5005
gadcon helper functions
...
SVN revision: 54348
2010-11-08 20:11:45 +00:00
Sebastian Dransfeld
af68b736a2
Don't override the drop handlers area
...
SVN revision: 54327
2010-11-08 14:05:19 +00:00
Sebastian Dransfeld
8f1e82d9f9
TODO++
...
SVN revision: 54326
2010-11-08 14:05:08 +00:00
Sebastian Dransfeld
0e4e3b9e22
o_frame is the complete area for gadcon
...
SVN revision: 54324
2010-11-08 12:46:37 +00:00
Sebastian Dransfeld
c5e189ecbd
Remove pointless cache
...
SVN revision: 54321
2010-11-08 09:04:59 +00:00
Sebastian Dransfeld
f0afd63652
We might loose move/resize ref
...
Keep a local ref and be sure that we keep our object
SVN revision: 54275
2010-11-07 12:34:40 +00:00
Sebastian Dransfeld
3678c820b9
Really cancel move/resize
...
SVN revision: 54274
2010-11-07 12:34:29 +00:00
Sebastian Dransfeld
48e98291bd
Only focus parent if on current desk
...
SVN revision: 54273
2010-11-07 11:05:04 +00:00
Sebastian Dransfeld
b4f9160c09
Remove duplicate code
...
We always hide border before border del, so we shouldn't be focused here
SVN revision: 54272
2010-11-07 11:04:53 +00:00
Sebastian Dransfeld
c12fafe377
Cleanup revert focus
...
SVN revision: 54271
2010-11-07 08:21:14 +00:00
Sebastian Dransfeld
b047d83d7a
Set focus when we delete the border
...
_e_border_cb_window_hide is not necessary called in the right order for
internal windows
Fixes #485 part 1
SVN revision: 54244
2010-11-06 19:35:35 +00:00