Commit Graph

452 Commits

Author SHA1 Message Date
Carsten Haitzler d7b27f24fb added some object checking - i think we should make sure this object checking
is everywhere - if we can. anyone wondering about someothnig to do.. add in
the object check macros for any struct thats is an object :)


SVN revision: 17678
2005-10-19 09:31:35 +00:00
Carsten Haitzler e83b8a72de and actually delete the locks dialog if the window is deleted.
SVN revision: 17629
2005-10-17 12:01:33 +00:00
Carsten Haitzler be4f5dfbab locks have been dialogified :)
SVN revision: 17628
2005-10-17 11:51:46 +00:00
Carsten Haitzler 0adc7224c3 some widget work... and maybe a fix for disappearing windows?
SVN revision: 17596
2005-10-16 05:59:18 +00:00
Carsten Haitzler b7d8583c4c fix shade remember
SVN revision: 17591
2005-10-16 04:25:57 +00:00
sebastid 288dd7aa6c Not allow resize when shaded.
Only show resize handles if resize is allowed.


SVN revision: 17445
2005-10-11 20:21:50 +00:00
sebastid 0a8ea88d99 Change pointer on begin/end move/resize.
SVN revision: 17412
2005-10-10 22:08:51 +00:00
sebastid e85dd8ade4 Possible with more types for a drag. Doesn't make sense for internal dnd,
since we don't have a conversion function. Prepare for xdnd.
Declare variables.


SVN revision: 17276
2005-10-07 18:36:54 +00:00
tsauerbeck 7a28622910 free the mallocs, nuke the whales
SVN revision: 17209
2005-10-05 19:02:41 +00:00
sebastid e7fd7fe243 Don't allow borderless for fullscreen windows (from ilLogict).
SVN revision: 17197
2005-10-05 16:40:20 +00:00
sebastid b0ce160fa0 Dealy maximization until new_client == 0;
SVN revision: 17194
2005-10-05 12:39:53 +00:00
sebastid f901f8ce1f Remove space
SVN revision: 17155
2005-10-04 11:15:33 +00:00
handyande 60f00732d5 fix 'edit icon' entry
SVN revision: 17139
2005-10-03 14:39:42 +00:00
Carsten Haitzler 9f9468645d 1. centralise canvas creation.
2. allow xrender to be (*hard-coded) chosen.


SVN revision: 17126
2005-10-03 07:36:23 +00:00
sebastid a1836622d9 Call the netwm property by it's right name.
Let the startup id be unique (almost).


SVN revision: 17067
2005-09-29 15:01:04 +00:00
sebastid 69f5ef076d border positions is relative to container, not zone
SVN revision: 17065
2005-09-29 12:48:32 +00:00
sebastid 3a4ba210e1 This shouldn't happend, but better safe than sorry.
SVN revision: 17047
2005-09-28 19:53:42 +00:00
sebastid 282e843fcb Non need to raise a deleted window.
SVN revision: 17044
2005-09-28 19:24:58 +00:00
sebastid 5ee08cf2c9 After deletion, we aren't needed in the container stack.
SVN revision: 17043
2005-09-28 19:23:11 +00:00
sebastid 10df2cc9b1 Nameing convention.
SVN revision: 17036
2005-09-28 17:36:35 +00:00
sebastid ad38a59518 ref and unref bd app, and delete the pointer when app changes.
SVN revision: 17030
2005-09-28 12:45:14 +00:00
sebastid 6d4a242889 Move null check to equals function
SVN revision: 17029
2005-09-28 11:09:33 +00:00
sebastid 6c9fe9a36a NULL Check
SVN revision: 17028
2005-09-28 11:06:07 +00:00
sebastid 64b597732e Check for eap changes.
SVN revision: 17019
2005-09-28 03:28:48 +00:00
sebastid 27f3df3e13 Track the border icon eap.
SVN revision: 17018
2005-09-28 03:06:58 +00:00
tsauerbeck e3822ca730 'clicking-a-window-always-focuses-it' otherwise known as 'always-click-to-focus' is in. doesn't apply instantly, need to restart. i think that's the same with always-click-to-raise, so i'm not trying to do something about it
SVN revision: 16992
2005-09-27 16:36:14 +00:00
sebastid 16e771c87b Forget parent and leader
SVN revision: 16987
2005-09-27 09:35:05 +00:00
Carsten Haitzler 9ad9f64731 1. fix segv dnd border icon to ibar
2. border icon if from netwm has alpha set :)


SVN revision: 16979
2005-09-27 03:57:03 +00:00
sebastid a5991bd857 Only place manually windows which aren't already place.
SVN revision: 16975
2005-09-26 21:06:29 +00:00
sebastid e95ad85d54 Manual place relative to zone.
SVN revision: 16962
2005-09-26 14:31:35 +00:00
sebastid 31a1018075 Better initial placement with manual placement.
SVN revision: 16958
2005-09-26 10:52:44 +00:00
sebastid 6089dcd543 Don't use place func, we need the cursor pos.
SVN revision: 16956
2005-09-26 10:30:38 +00:00
sebastid 7312a63ef6 Use placement func to find x/y pos.
SVN revision: 16955
2005-09-26 10:07:48 +00:00
Carsten Haitzler 485f1e2a6c I have cleaned up app instance trackign a little. it's a bit complex really,
but works better now, and e now falls back to lookign for startup info and
app instances etc. to try find an icon, and finally uses the icon provided by
the app itself (netwm icon only) :)


SVN revision: 16951
2005-09-26 09:13:44 +00:00
Mike Frysinger 6e94a07501 looks like someone forgot they have to declare variables before using them
SVN revision: 16941
2005-09-25 22:04:20 +00:00
sebastid e2c59a74bd memleak
SVN revision: 16938
2005-09-25 17:04:57 +00:00
sebastid 88f778038a Reset values if fetching icons fail.
SVN revision: 16937
2005-09-25 16:56:46 +00:00
sebastid 6a725bba35 Fix freeing of netwm icons.
SVN revision: 16936
2005-09-25 16:53:00 +00:00
sebastid bae370b31d New netwm icon api.
SVN revision: 16934
2005-09-25 16:43:34 +00:00
sebastid 01c8cb23ce A child should have the same layer as its parent.
todo--


SVN revision: 16913
2005-09-24 11:45:09 +00:00
Carsten Haitzler 9063352d93 oh for gods sake! now all day was sunk into getting focus fixed for dialogs.
argh! i'll have to do the app cache after this... grrr....x


SVN revision: 16905
2005-09-24 09:04:39 +00:00
sebastid 2c2f9e3f5d Check netwm type when we want to check if a window is a dialog. Fetch netwm
window type if a window has a transient. If the app hasn't set window type
it will set it to dialog.

Maybe check if some apps set wrong netwm window type?


SVN revision: 16880
2005-09-23 18:58:35 +00:00
Carsten Haitzler df07e38102 resize handling patches from martin
SVN revision: 16870
2005-09-23 15:47:18 +00:00
sebastid 7c7cd5e8bd Don't manually place dialogs.
SVN revision: 16868
2005-09-23 15:04:19 +00:00
sebastid 1849a6ce39 Stacking is confusing, should be fixed
SVN revision: 16859
2005-09-23 00:47:35 +00:00
sebastid decdc33c2f Remove debug
SVN revision: 16856
2005-09-22 22:37:42 +00:00
sebastid f5ddf29d5e focus window on manual placement
SVN revision: 16854
2005-09-22 20:40:11 +00:00
sebastid bcce7a8bce Manual placement
SVN revision: 16850
2005-09-22 17:10:02 +00:00
Carsten Haitzler 3c9e205fdb signal bindings.!!!! this means you can completely rebind every event and
action on a window border theme/design to do what you want. the theme doesnt
determine this anymore. as with wheel bindings it still isnt exported to
config fiels and ipc yet, but the functionality is done.


SVN revision: 16848
2005-09-22 16:36:59 +00:00
Carsten Haitzler 00616d3fec wheel bindings! WERD! hard-coded ones for now, need to make these config
values that can be set/changed/deleted via ipc and are saved/loaded :)


SVN revision: 16847
2005-09-22 12:47:45 +00:00