Mike Blumenkrantz
3c343db349
fix annoying gadman crash when plugging screens
2013-10-07 04:18:26 +01:00
Mike Blumenkrantz
8956de3359
cosmetic variable declaration movement
2013-10-07 04:16:24 +01:00
Mike Blumenkrantz
bf3ff4a5d1
gadman checks aspect hints during size hint change callback
2013-08-13 11:28:02 +01:00
Mike Blumenkrantz
1d324abd7a
changing gadman gadget orientations using menu now guesses new orientation sizes much more accurately
2013-08-13 11:20:39 +01:00
Mike Blumenkrantz
f92175c39f
only add gadman menu orient callbacks if orient is not current orient
2013-08-13 11:20:15 +01:00
Mike Blumenkrantz
28cc3f0a0a
gadman now respects gadget aspect and sets max size hint while resizing gadgets
2013-08-13 11:04:36 +01:00
Mike Blumenkrantz
3024562fcc
bugfix: setting min size on a gadget now propagates to desktop gadgets
2013-08-13 10:22:24 +01:00
Mike Blumenkrantz
31ef04c0e6
block gadman drags originating from other gadcons
...
T251
2013-07-26 13:54:53 +01:00
Mike Blumenkrantz
f9f9b30982
yet another gadman rewrite
...
* handle zone changes without forcing a redraw (no more flickering, hooray)
* correctly handle overlay gadcons
* also correctly handle creation of overlay
2013-06-19 09:33:29 +01:00
Mike Blumenkrantz
8f4568a6b1
fix gadman overlay visibility after a gadman reset
2013-06-19 08:52:19 +01:00
Mike Blumenkrantz
84793983e1
another huge gadman rewrite. hooray.
...
* merge gadman overlay to comp canvas using a popup
* unify zone change handlers
* remove stupid container shape change handler (wtf was this supposed to do?)
* better dnd usage
2013-06-12 07:46:26 +01:00
Mike Blumenkrantz
bf99312a7d
rename gadman hover layer to overlay
2013-06-12 07:46:25 +01:00
Mike Blumenkrantz
84c9e12238
set gadman window to fullscreen so edge actions can still be used while it's up
2013-05-23 10:45:25 +01:00
Mike Blumenkrantz
0f3c11c8c9
set gadman window name/class
2013-05-23 10:45:25 +01:00
Mike Blumenkrantz
921ecb5ede
gadman hover shouldn't be an override, just fullscreen
2013-05-23 10:45:25 +01:00
Mike Blumenkrantz
27c872e102
fix gadman hover dnd
2013-05-23 10:45:25 +01:00
Mike Blumenkrantz
25c67a8556
fix gadman gadget move-to menus
2013-05-23 10:45:24 +01:00
Igor Murzov
abfe4e1b69
Make gadcon locations translatable
2013-05-12 02:02:26 +04:00
Mike Blumenkrantz
e3486bbc17
save gadman gadget geom on resize
2013-02-25 09:26:06 +00:00
Mike Blumenkrantz
241a5763e3
reset gadman gadget position if invalid % for size/geom is sent, only create gadget menus based on config where applicable
2013-02-25 09:25:03 +00:00
Mike Blumenkrantz
1ed466474d
update gadman gadget position on moves
2013-02-25 09:24:24 +00:00
Mike Blumenkrantz
817ea38bcf
gadman only rejects dnd events from non-gadman gadcons instead of all gadcons
2013-02-25 09:23:20 +00:00
Mike Blumenkrantz
339f4c58e4
gadman no longer crashes when right clicking a dnd-enabled gadget
2013-02-25 08:18:06 +00:00
Mike Blumenkrantz
70d68a30e0
giant comp rejiggering commit #4
...
* dnd canvas removed, dnd objects now drawn directly on compositor canvas
* dnd now correctly picks the top-most dnd-receiver location as its drop target instead of just using the first one in the list
* various other small changes to go along with this
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
00c8442d51
gadman top layer no longer deletes gadget configs when it can't find their objects
...
SVN revision: 84288
2013-02-21 13:52:30 +00:00
Mike Blumenkrantz
368142bc76
minor cosmetic tweaks for gadman init
...
SVN revision: 84287
2013-02-21 13:52:28 +00:00
Mike Blumenkrantz
339e4ad906
fix gadcon dnd window for shelf and gadman desktop to use comp canvas window
...
SVN revision: 84102
2013-02-19 10:05:16 +00:00
Mike Blumenkrantz
f36ecd9d3d
giant comp rejiggering commit #2 : popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
...
* added a number of new e_comp functions and macros
* options for disabling effects on objects: this option does not currently have any effect
* all modules which used gadcon popups have been adjusted
* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality
* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810 )
* shelves no longer have an event object
SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz
aa6a2d173d
giant comp rejiggering commit because anything smaller would have broken something:
...
* remove xwin for container canvas: now drawn directly on the compositor canvas
* added SHAPE_DEBUG define for bored developers
* bindings now use new e struct for mouse/wheel events
* container+zone now get mouse events from smart callbacks instead of x events
* rename comp api namespace
* change comp underlay theme to have a swallow for the wallpaper
* add names to all zone/container/comp objects to make debugging much easier
* some minor related updates to go along with this
SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz
7923a0937c
fix desktop gadget dragging near screen edges
...
ticket #2108
SVN revision: 83063
2013-01-22 09:39:04 +00:00
Lucas De Marchi
0675dd03a0
e: rename option use_composite to use_shaped_win
...
In order to move composite inside the core we need to kill the
use_composite option. However in some places it is being used to switch
between ARGB and shaped windows. It doesn't make much sense to keep the
advanced/engine dialog to let the user toggle this options if we have
composite always enabledm, but lets allow the user to shoot
himself on the foot (for now).
Next step will be to move the comp module files to core so user can't
unload it anymore.
SVN revision: 82433
2013-01-09 03:21:25 +00:00
Mike Blumenkrantz
c94aac1b87
fix gadman load/shutdown
...
SVN revision: 80641
2012-12-11 10:49:17 +00:00
Mike Blumenkrantz
dfe7117ba6
force enable gc edit flag if gcc is being edited to prevent crash when deleting just-added gadman gadgets from dialog
...
SVN revision: 79972
2012-12-01 16:08:39 +00:00
Mike Blumenkrantz
c6a9c34e7f
giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
...
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike Blumenkrantz
6502761657
fix dangling gadman gadgets during dnd and fix edit mode toggling when gadgets are dragged in and out of desktop gadcon
...
SVN revision: 79876
2012-11-30 08:52:57 +00:00
Mike Blumenkrantz
98a1ef6bd1
more gadman dnd rewrites to fix this stupid, awful piece of garbage that I can't wait to delete.
...
ticket #1820 (again)
SVN revision: 79841
2012-11-29 16:03:54 +00:00
Mike Blumenkrantz
7f9e4979fc
fix gadman crash when container shape changes
...
SVN revision: 79803
2012-11-29 05:19:41 +00:00
Carsten Haitzler
8f03dcc9ed
dont hardcode overlay part as its not namespace - accept right click
...
on ANYTHING to stop move/resize in gadman.
SVN revision: 79686
2012-11-26 10:06:50 +00:00
Mike Blumenkrantz
ae73a11981
another rewrite: gadman now just resets itself on a timer any time you mess with monitors instead of trying to add/remove gadcons properly. this should fix some bugs which were floating around
...
SVN revision: 79211
2012-11-13 09:51:28 +00:00
Mike Blumenkrantz
1374faeb04
patch from Doyoun Kang to fix gadman gadget positioning
...
SVN revision: 78636
2012-10-30 08:04:52 +00:00
Mike Blumenkrantz
45e0a1bb59
create gadman gadcons after module init is over to avoid re-creating all the gadcons repeatedly during init; speeds up init quite a bit and inadvertently fixes ticket #1685
...
SVN revision: 78526
2012-10-26 12:13:53 +00:00
Mike Blumenkrantz
1401c39182
desktop gadgets no longer have the confusing "Behavior" menu, instead the hover layer is now a separate location which can receive gadget moves from any gadcon in the "Move to" menu
...
SVN revision: 77528
2012-10-05 10:36:11 +00:00
Mike Blumenkrantz
22a560b41f
unnecessary cast
...
SVN revision: 77527
2012-10-05 10:23:52 +00:00
Mike Blumenkrantz
2413409717
use list macros for gadman handlers
...
SVN revision: 77526
2012-10-05 10:22:57 +00:00
Mike Blumenkrantz
71f57bb52d
gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
...
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon
this means that moving a gadget to a new location will no longer cause it to lose its gadget config
ticket #1594
SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz
6933d4b8ac
gadgets can now be configured from the Desktop menu to bypass selecting layer in the overall gadget config
...
SVN revision: 77517
2012-10-05 09:05:34 +00:00
Mike Blumenkrantz
c873260de3
ensure that missing gadman gadget geom popup only ever appears once, also set edit mode on repositioned gadget
...
SVN revision: 77514
2012-10-05 08:23:00 +00:00
Mike Blumenkrantz
9c7ea16706
also handle reapplying default sizing more effectively
...
SVN revision: 77513
2012-10-05 08:16:11 +00:00
Mike Blumenkrantz
d0d1fbe5ba
fix gadman popups to work and support markup
...
SVN revision: 77512
2012-10-05 08:13:43 +00:00
Mike Blumenkrantz
77865ac5b0
break out gadman popups into separate functions with timers and handlers to ensure that they actually go away
...
SVN revision: 77509
2012-10-05 07:31:10 +00:00