|
|
2011-09-28
, 05:06
|
|
Posts: 875 |
Thanked: 916 times |
Joined on Sep 2010
|
#302
|

|
|
2011-09-28
, 05:26
|
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#303
|
|
|
2011-09-30
, 00:30
|
|
Posts: 637 |
Thanked: 445 times |
Joined on Dec 2009
@ Kaliningrad, Russia
|
#304
|
@ Kroll, please make an icon.
|
|
2011-10-12
, 21:29
|
|
Posts: 26 |
Thanked: 2 times |
Joined on Feb 2011
|
#305
|
|
|
2011-10-13
, 04:37
|
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#306
|
|
|
2011-10-13
, 04:48
|
|
|
Posts: 4,783 |
Thanked: 1,253 times |
Joined on Aug 2007
@ norway
|
#307
|
|
|
2012-06-06
, 15:17
|
|
Posts: 833 |
Thanked: 3,371 times |
Joined on Mar 2009
|
#308
|
--- XTools.h (revision 185)
+++ XTools.h (working copy)
@@ -96,7 +96,7 @@
Picture *picture
);
- static Atom XTools::windowType(Window window);
+ static Atom windowType(Window window);
};
#endif
--- Mapping.cpp (revision 185)
+++ Mapping.cpp (working copy)
@@ -81,6 +81,8 @@
// printf("action:\t%s\n", action);
// printf("\n");
+ KeySym keySym = XStringToKeysym(keysym);
+ KeyCode keyCode = XKeysymToKeycode(dpy, keySym);
Mapping *result = 0;
@@ -95,8 +97,6 @@
goto finish;
}
- KeySym keySym = XStringToKeysym(keysym);
- KeyCode keyCode = XKeysymToKeycode(dpy, keySym);
if (keyCode == 0)
{
--- XTools.cpp (revision 185)
+++ XTools.cpp (working copy)
@@ -343,7 +343,7 @@
if (status != Success)
return false;
- bool minimized = *property == IconicState;
+ bool minimized = false;
XFree(property);
/usr/bin/telescope
dbus-send --type=method_call --dest=org.telescope /Telescope org.telescope.Telescope.Show string:""
|
|
2012-06-06
, 17:27
|
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#309
|
*Telescope has titlebar and close button (close button will crash telescope)
// TeleWindow.cpp:89
Atom windowType = XTools::_NET_WM_WINDOW_TYPE_SPLASH;
XChangeProperty(_dpy, _win, XTools::_NET_WM_WINDOW_TYPE,
XA_ATOM, 32, PropModeReplace,
(const unsigned char*)&windowType, 1);
*If there are two xterm running, closing another will close (or crash) them both.
| The Following User Says Thank You to Mitrandir For This Useful Post: | ||
|
|
2012-06-06
, 18:49
|
|
Posts: 833 |
Thanked: 3,371 times |
Joined on Mar 2009
|
#310
|
Just curious — what is the reason for using Fremantle without GLES? Other device, not N900?
If I recall correctly, Telescope tries to hide window decorations for its window using this code:
// TeleWindow.cpp:89
[/code]
Atom newstate;
newstate = XInternAtom(_dpy, "_NET_WM_STATE_FULLSCREEN", True);
XChangeProperty(_dpy, _win,
XInternAtom(_dpy, "_NET_WM_STATE", True),
XA_ATOM, 32, PropModeReplace,
(const unsigned char *) &newstate, 1);
X Error! [3, 3, 0] X Error! [144, 145, 28] X Error! [144, 145, 8] X Error! [3, 20, 0] X Error! [8, 145, 4]
X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 3 (X_GetWindowAttributes) Resource id in failed request: 0x3400017 Serial number of failed request: 799 Current serial number in output stream: 800
So, suspended apps that decorated by Hildon with “Zz” icon are really not draining cpu (because they simply doesn't running). But that's not true for iconified apps. And I think using same metaphor can couse misleading
And I'm not sure checkered pattern will look nice...
Sorry for criticism