Commit Graph

29 Commits

Author SHA1 Message Date
Sanel Zukan
229914358a Support for panel height resize.
Now, when panel height get resized, children will update their height's too. Children height is always calculated in form (parent()->h() - 10).
2013-01-17 23:53:11 +00:00
Sanel Zukan
7c4628dfa1 Prevent switch to different workspace when minimizing last window on current workspace. 2013-01-17 22:49:49 +00:00
Sanel Zukan
7b1245f06a Moving hider to panel itself, instead as separate applet.
Hider calls some Panel specific code and doing that from applet will make shit like selinux or apparmor quite unhappy (due relocations), which will refuse to start ede-panel. ...yet another workaround for that crapy security junk.
2013-01-04 14:36:40 +00:00
Sanel Zukan
d09f846380 Better handling on workspace change and setting sticky tag for window. Implemented #217: all windows in taskbar, no matter which desktop was used. 2013-01-04 13:05:42 +00:00
Sanel Zukan
7431373b29 Speed up removal items from group (FLTK 1.3 added faster method). Also fixing strange issue with desktop switch during minimize.
Added AppletWidget class, an experimental code for widgets that wants to accept custom methods. Needs completion though
2013-01-04 10:33:53 +00:00
Sanel Zukan
3df8f4ed7e Fixing long standing issue with tray space when tray icon gets destroyed.
When tray icon gets destroyed, space it was occupying would not be cleaned, yielding wholes inside taskbar. Fixing by explicitly hiding and deleting FLTK window which holded application tray window.
2012-12-20 01:50:00 +00:00
Sanel Zukan
8bb9028df3 Implementing #213 (Make taskbar buttons stretchable).
Taskbar buttons now can be stretchable or fixed size as before. This commit also fixes a couple of drawing issues when workspace was changed.
2012-12-20 00:58:30 +00:00
Sanel Zukan
a3f2a79d5f Looks like sawfish likes WM_WINDOW_STATE_ICONIC more than NETWM_STATE_HIDDEN. 2012-12-17 22:26:55 +00:00
Sanel Zukan
fc4474f1c7 Removed usage... 2012-12-17 18:58:39 +00:00
Sanel Zukan
68959abca2 Removed unused list. 2012-12-17 18:56:59 +00:00
Sanel Zukan
fb708f76ed Closing #212: Panel buttons are reodered on titlebar click.
By default, pekwm will reorder window list on input focus (probably to optimize things) and this would also reorder buttons inside taskbar. Also, on new window list, all panel buttons would be recreated again, causing many allocations and deallocations. Now, window list received from wm is compared agains internal window storage for diffs.

Fixing this issue made removal some old edewm specific code and made panel nicely working under sawfish ;)
2012-12-17 15:49:33 +00:00
Sanel Zukan
2d028fe4a6 Let panel taskbar tries to fetch icons of desired size, if possible. Also squashed a small memory leak in keyboard applet. 2012-08-24 14:15:04 +00:00
Sanel Zukan
a45609e945 Added copyright/legal info. Cleared some deprecation warnings. 2012-08-06 12:00:25 +00:00
Sanel Zukan
39ffa8406b Code cleanup.
Removing usage of EDE_PANEL_APPLET_CLASS since there is no much usage of it. Also, marked all applet widgets as EDE_PANEL_WIDGET_TYPE so panel knows it is widget.

Added license info in some code, but whole ede2 tree needs to be revised for that.
2012-05-30 10:23:27 +00:00
Sanel Zukan
eb175fa89f Moving all class declarations to EDE_PANEL_APPLET_CLASS macro.
This change should make base applet code easier to modify without modifying applets itself. This is also
a starting point for implementation of better routing netwm messages to applets without adding specific listener
to each applet.
2012-05-28 10:57:50 +00:00
Sanel Zukan
dd496f4780 Make dialog-like windows centered. Work on implementing missing ede-desktop functions 2012-05-07 08:53:13 +00:00
Sanel Zukan
8aa9d550b2 Prevent some memory leaks 2012-04-19 12:49:30 +00:00
Sanel Zukan
9a48273fd4 Fixed issue with drawing label 2011-10-28 09:12:49 +00:00
Sanel Zukan
706ef69bfa Importing systray applet. Not completed yet... 2011-10-26 16:04:37 +00:00
Sanel Zukan
eebda8a375 Update icon on demand 2010-03-09 23:38:57 +00:00
Sanel Zukan
bd5dbb7ed9 Application icon support in taskbar button 2010-03-08 22:44:32 +00:00
Sanel Zukan
b057ef45a1 Do not display transient windows 2010-01-06 14:45:56 +00:00
Sanel Zukan
bbbb00fdca Use wm specific code from edelib. 2009-12-17 15:16:35 +00:00
Sanel Zukan
037196c9be Reduced warnings on gcc 4.4.1.
Let panel applet use GLOBALFLAGS.
Check for XKBrules from XKB extension and conditionally compile code using it.
2009-11-20 17:08:29 +00:00
Sanel Zukan
9a3b95faf4 Update callback data when menu is going to be clicked 2009-10-08 13:27:36 +00:00
Sanel Zukan
28de0f8e96 Using error handler to block XGetImage errors caused in FLTK. Seems how these errors can cause
panel to stop event processing
2009-10-06 11:20:19 +00:00
Sanel Zukan
f7466bed21 Some comment fix.
Simple utf8 test.
2009-10-05 09:43:27 +00:00
Sanel Zukan
4d10320856 Updated paths 2009-10-03 07:49:30 +00:00
Sanel Zukan
1f96f833d9 Merging new panel in the trunk. 2009-10-03 07:33:08 +00:00